diff --git a/Makefile b/Makefile index a04380c..c89ca7f 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,20 @@ -all: +DESTDIR ?= +PREFIX ?= /usr +DEST = $(DESTDIR)$(PREFIX) + +all: docbuild + +docbuild: + ./genmanpages install: clean: - $(RM) *tar.gz.cdbs-config_list - $(RM) *.1 *.3 - $(RM) doc/po4a.config - $(RM) -r doc/html/multistrap/ doc/html/emdebian-rootfs/ - -check: + $(RM) *~ + -$(MAKE) -C doc clean -test: +# adds the POT file to the source tarball +native-dist: Makefile + ./genmanpages --pot-only + $(MAKE) -C po pot