diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index dc2ee585b..9c83575b0 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,9 +1,18 @@ ## Process this file with automake to create Makefile.in -EXTRA_DIST = DETAILS rfcs gpg.1pod gpg.1 FAQ +EXTRA_DIST = DETAILS rfcs gpg.1pod gpg.1 FAQ HACKING man_MANS = gpg.1 + + +install-data-hook: + if test -f $(man1dir)/gpgm.1; then rm $(man1dir)/gpgm.1; fi + ln -s $(man1dir)/gpg.1 $(man1dir)/gpgm.1 \ + || ln $(man1dir)/gpg.1 $(man1dir)/gpgm.1 + + + %: %pod pod2man $< --section=`echo $@ | sed 's/^.*(?)$$/$$&/'`\ --release="`date -r $< '+%d %b %Y'`"\ |