summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-21 17:54:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-21 17:54:04 +0200
commit99ca8abacf61a7195e227704984ff96a0a868bc3 (patch)
treec0d67b86728cc20f9c1db10c79a50d8d902c7b30 /Makefile
parent3bf78101a7e43057df563fe7a234b991e8de80d0 (diff)
Add version information to manpages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 13d2bc0..05a3d83 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,13 @@
include config.mk
-all:
+all: build-src build-man
+
+build-src:
@${MAKE} -C src
+build-man:
+ @${MAKE} -C man
+
test: all
@PACKAGE=${PACKAGE} VERSION=${VERSION} prove test
@@ -14,7 +19,7 @@ install: install-man install-doc install-bin install-font install-img
install-man:
@echo installing manuals to ${man_dir}
@mkdir -p ${man_dir}/man1
- @cp man/* ${man_dir}/man1
+ @cp man/*.1 ${man_dir}/man1
@chmod 644 ${man_dir}/man1/feh.1 ${man_dir}/man1/feh-cam.1 \
${man_dir}/man1/gen-cam-menu.1
@@ -54,6 +59,7 @@ uninstall:
clean:
@${MAKE} -C src clean
+ @${MAKE} -C man clean
.PHONY: all test test-x11 install uninstall clean install-man install-doc \
install-bin install-font install-img