index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2020-02-10 10:31:39 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-02-10 10:38:38 +1000 |
commit | 033405c9638830fd3579d8946fa1b140cea697ee (patch) | |
tree | b568f60d45d533c81641e4459d61f74b48725a55 | |
parent | 886a6677a847a5b7fdc1e44240f90cc81d91b9ad (diff) |
-rw-r--r-- | doc/Makefile.am | 13 | ||||
-rw-r--r-- | doc/meson.build | 4 |
diff --git a/doc/Makefile.am b/doc/Makefile.am index c61110fc..4de67566 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -47,7 +47,8 @@ EXTRA_DIST = \ $(DOXYGEN_MANS) # Files that should be removed, but which Automake does not know. -MOSTLYCLEANFILES = *.xml $(MANPAGES) $(HTML_DOCS) repo-remove.8 website.tar.gz +MOSTLYCLEANFILES = *.xml $(MANPAGES) $(HTML_DOCS) \ + pacman-hooks.5 repo-remove.8 website.tar.gz # Ensure manpages are fresh when building a dist tarball dist-hook: @@ -140,12 +141,22 @@ repo-remove.8: repo-add.8 $(RM) repo-remove.8 $(LN_S) repo-add.8 repo-remove.8 +pacman-hooks.5: alpm-hooks.5 + $(RM) pacman-hooks.5 + $(LN_S) alpm-hooks.5 pacman-hooks.5 + install-data-hook: cd $(DESTDIR)$(mandir)/man8 && \ $(RM) repo-remove.8 && \ ( $(LN_S) repo-add.8 repo-remove.8 || \ ln repo-add.8 repo-remove.8 || \ cp repo-add.8 repo-remove.8 ) + cd $(DESTDIR)$(mandir)/man5 && \ + $(RM) pacman-hooks.5 && \ + ( $(LN_S) alpm-hooks.5 pacman-hooks.5 || \ + ln alpm-hooks.5 pacman-hooks.5 || \ + cp alpm-hooks.5 pacman-hooks.5 ) uninstall-hook: $(RM) $(DESTDIR)$(mandir)/man8/repo-remove.8 + $(RM) $(DESTDIR)$(mandir)/man5/pacman-hooks.5 diff --git a/doc/meson.build b/doc/meson.build index a5bcd5b3..e24172fd 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -129,6 +129,10 @@ meson.add_install_script(MESON_MAKE_SYMLINK, 'repo-add.8', join_paths(MANDIR, 'man8/repo-remove.8')) +meson.add_install_script(MESON_MAKE_SYMLINK, + 'alpm-hooks.5', + join_paths(MANDIR, 'man5/pacman-hooks.5')) + doxygen = find_program('doxygen', required : get_option('doxygen')) if doxygen.found() and not get_option('doxygen').disabled() doxyconf = configuration_data() |