* install only .pyo files.

* new target ndist to make a tar ball without the version number in
the directory name.


git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@19 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Frédéric Lepied 1999-10-06 12:58:06 +00:00
parent 0f81c4cd9c
commit 6e23dea5c7
1 changed files with 10 additions and 1 deletions

View File

@ -19,7 +19,7 @@ clean:
install:
-mkdir -p $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR)
cp -p *.py *.pyo $(DESTDIR)$(LIBDIR)
cp -p rpmlint.py *.pyo $(DESTDIR)$(LIBDIR)
cp rpmlint $(DESTDIR)$(BINDIR)
dist:
@ -31,4 +31,13 @@ dist:
bzip2 -9vf rpmlint-$$VERSION.tar;\
rm -rf rpmlint-$$VERSION
ndist:
TEMP=$$$$;\
rm -f rpmlint.tar.bz2; \
mkdir -p $$TEMP/rpmlint; \
ln $(FILES) $$TEMP/rpmlint/; \
tar cvf rpmlint.tar -C $$TEMP rpmlint;\
bzip2 -9vf rpmlint.tar;\
rm -rf $$TEMP
# Makefile ends here