summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-15 14:38:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-15 14:38:34 +0000
commitbeb110da171c01836e8b7c580cbfaf657c50990a (patch)
tree032a21241132a9c96be385d5c7215cbc6d03a371 /Makefile
parentf87a8fd23167019da4d11a78829dcbe19f3ce72c (diff)
downloadldetect-lst-beb110da171c01836e8b7c580cbfaf657c50990a.tar
ldetect-lst-beb110da171c01836e8b7c580cbfaf657c50990a.tar.gz
ldetect-lst-beb110da171c01836e8b7c580cbfaf657c50990a.tar.bz2
ldetect-lst-beb110da171c01836e8b7c580cbfaf657c50990a.tar.xz
ldetect-lst-beb110da171c01836e8b7c580cbfaf657c50990a.zip
creation, now pcitable is standalone and its reference is HERE
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..c09144b5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+version = 0.1.0
+
+project = ldetect-lst
+prefix = /usr
+datadir = $(prefix)/share
+dir = $(datadir)/$(project)
+
+build:
+
+clean:
+ rm -f *~
+
+install: build
+ install -d $(dir)
+ install -m 644 pcitable $(dir)
+
+
+rpm: clean $(RPM)
+ (echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
+ echo "%define version $(version)" ; \
+ cat $(project).spec \
+ ) > $(RPM)/SPECS/$(project).spec
+
+ (cd .. ; tar cfj $(RPM)/SOURCES/$(project).tar.bz2 $(project))
+ rpm -ba --clean --rmsource --rmspec $(RPM)/SPECS/$(project).spec