summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-20 19:31:08 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-20 19:31:08 +0000
commit4f04e7bf47c435aa132ff32e5a1f28b6d48869b6 (patch)
tree1dbcc8929b5793302e4072ef845a1e5b6cf30524 /Makefile
parent2b872634e65936f7c44c901f3f623b8bf4622ba5 (diff)
downloadldetect-lst-4f04e7bf47c435aa132ff32e5a1f28b6d48869b6.tar
ldetect-lst-4f04e7bf47c435aa132ff32e5a1f28b6d48869b6.tar.gz
ldetect-lst-4f04e7bf47c435aa132ff32e5a1f28b6d48869b6.tar.bz2
ldetect-lst-4f04e7bf47c435aa132ff32e5a1f28b6d48869b6.tar.xz
ldetect-lst-4f04e7bf47c435aa132ff32e5a1f28b6d48869b6.zip
split rpm target into rpm and srpm target as i did for ldetect
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 489b66c0..d59683f0 100644
--- a/Makefile
+++ b/Makefile
@@ -16,13 +16,16 @@ install: build
install update-ldetect-lst $(sbindir)
install convert/merge2pcitable.pl $(bindir)
-rpm: check clean $(RPM)
+rpm: srpm
+ rpm -bb --clean --rmsource --rmspec $(RPM)/SPECS/$(project).spec
+
+srpm: check clean $(RPM)
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
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
+ rpm -bs $(RPM)/SPECS/$(project).spec
changelog:
cvs2cl -U ../common/username -I ChangeLog