diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-20 19:31:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-20 19:31:08 +0000 |
commit | 4f04e7bf47c435aa132ff32e5a1f28b6d48869b6 (patch) | |
tree | 1dbcc8929b5793302e4072ef845a1e5b6cf30524 /Makefile | |
parent | 2b872634e65936f7c44c901f3f623b8bf4622ba5 (diff) | |
download | ldetect-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-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |