man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables))
autocrap := config.h.in configure
-tarball_pfx := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
+tarball_pfx := $(PACKAGE_TARNAME)-$(shell git describe --dirty)
tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore)
tarball := $(tarball_pfx).tar.bz2
distclean: clean2 test-clean
@[ -z "$(Q)" ] || echo 'DISTCLEAN'
$(Q) rm -f Makefile autoscan.log config.status config.log error2.h
- $(Q) rm -rf autom4te.cache
$(Q) rm -f GPATH GRTAGS GSYMS GTAGS
maintainer-clean: distclean
- rm -f *.tar.bz2 config.h configure config.h.in
- rm -rf web_sync
+ @[ -z "$(Q)" ] || echo 'MAINTAINER-CLEAN'
+ $(Q) rm -f *.tar.bz2 config.h configure config.h.in
+ $(Q) rm -rf web_sync
install: all man
$(MKDIR_P) $(BINDIR) $(MANDIR)
$(Q) tar rf $(tarball_pfx).tar $(tarball_pfx)/*
$(Q) bzip2 -9 $(tarball_pfx).tar
$(Q) ls -l $(tarball)
+ $(Q) ln -sf $(tarball) paraslash-git.tar.bz2
$(Q) rm -rf $(tarball_pfx)