diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-17 19:25:54 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-17 19:25:54 -0700 |
commit | bdbd96ab70a2702a7d26e6638e096b2f64346853 (patch) | |
tree | f78c78e37d8aef5eae5f59438ad041d07a044d61 /GNUmakefile | |
parent | 032a79dbf1fb89bbf090f03af199b80d5ff1175d (diff) | |
download | unicorn-bdbd96ab70a2702a7d26e6638e096b2f64346853.tar.gz |
setup.rb users will now be able to install manpages under man/man1 automatically, no solution for Rubygems users yet. gzipped manpages are no longer created by default, either, it's probably up to distros to do it.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index bfce815..52e3401 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -125,13 +125,18 @@ prep_setup_rb := @-$(RM) $(setup_rb_files);$(MAKE) -C $(ext) clean clean: -$(MAKE) -C $(ext) clean + -$(MAKE) -C Documentation clean $(RM) $(ext)/Makefile lib/unicorn_http.$(DLEXT) $(RM) $(setup_rb_files) $(t_log) - $(RM) -r $(test_prefix) + $(RM) -r $(test_prefix) man +man: + $(MAKE) -C Documentation install-man .manifest: GIT-VERSION-FILE NEWS ChangeLog $(ext)/unicorn_http.c + $(MAKE) man (git ls-files && \ - for i in $@ $^; do echo $$i; done) | LC_ALL=C sort > $@+ + for i in $@ $^ $(wildcard man/*/*.1); \ + do echo $$i; done) | LC_ALL=C sort > $@+ cmp $@+ $@ || mv $@+ $@ $(RM) $@+ @@ -216,4 +221,4 @@ release: package $(release_notes) $(release_changes) $(rfproject) $(rfpackage) $(VERSION) $(pkgtgz) endif -.PHONY: .FORCE-GIT-VERSION-FILE doc $(T) $(slow_tests) .manifest +.PHONY: .FORCE-GIT-VERSION-FILE doc $(T) $(slow_tests) .manifest man |