17,7 → 17,7 |
-$(RM) *.pyc *.pyo manpage.html manpage.pdf |
|
distclean: clean |
-$(RM) $(PKGVER).tar.gz $(PKGVER).zip |
-$(RM) $(PKGVER).tar.gz $(PKGVER).zip python-cryptoplus.zip |
|
install: |
install -D -m755 $(PKG).py $(DESTDIR)$(prefix)/bin/$(PKG) |
36,7 → 36,9 |
manpage.pdf: $(PKG).1 |
man -t ./$(PKG).1 | ps2pdf14 - > $@ |
|
TAR_EXCLUDES=--exclude-vcs --exclude=$(PKGVER) --exclude=*.swp --exclude=*.pyo --exclude=*.pyc |
TAR_EXCLUDES=--exclude-vcs --exclude=$(PKGVER) \ |
--exclude=*.swp --exclude=*.pyo --exclude=*.pyc \ |
--exclude=python-cryptoplus |
|
is_release: |
# Only allowed if RELEASE |
47,15 → 49,12 |
-mkdir $(PKGVER) |
tar c . $(TAR_EXCLUDES) | ( cd $(PKGVER) && tar x ) |
|
dist: is_release clean |
-$(RM) $(PKGVER).tar.gz |
$(MAKE) package_copy |
tar zcvf $(PKGVER).tar.gz $(PKGVER) |
dist: is_release distclean package_copy |
tar cv $(PKGVER) | gzip -c9 > $(PKGVER).tar.gz |
-$(RM) -r $(PKGVER) |
|
zip: is_release clean |
-$(RM) $(PKGVER).zip |
$(MAKE) manpage.pdf manpage.html package_copy |
zip: is_release distclean manpage.pdf manpage.html package_copy |
zip -9 -r $(PKGVER).zip $(PKGVER) |
zip -9 -r python-cryptoplus.zip python-cryptoplus/ |
-$(RM) -r $(PKGVER) |
|