summaryrefslogtreecommitdiffstats
path: root/doc/man/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-16 23:34:43 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-18 12:45:23 +0100
commita6454b1658d325d6ff2d6ba6c349b772148798e0 (patch)
tree7301520567c1e8c5396af155b38d9ceb6b71334b /doc/man/Makefile.am
parentd855f704e838b0bcf33907ff38165fd1f745356b (diff)
downloadkmymoney-a6454b1658d325d6ff2d6ba6c349b772148798e0.tar.gz
kmymoney-a6454b1658d325d6ff2d6ba6c349b772148798e0.zip
Conversion to the cmake building system.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'doc/man/Makefile.am')
-rw-r--r--doc/man/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
new file mode 100644
index 0000000..4a80bb4
--- /dev/null
+++ b/doc/man/Makefile.am
@@ -0,0 +1,16 @@
+EXTRA_DIST = kmymoney2.1
+
+MOSTLYCLEANFILES = kmymoney2.1.gz
+
+BUILT_SOURCES = kmymoney2.1.gz
+
+install-data-hook: kmymoney2.1.gz
+ -rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kmymoney2/kmymoney2.1
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
+ $(INSTALL_DATA) kmymoney2.1.gz $(DESTDIR)$(mandir)/man1/kmymoney2.1.gz
+
+kmymoney2.1.gz: kmymoney2.1
+ gzip -9 -c -N $(top_srcdir)/$(subdir)/kmymoney2.1 > kmymoney2.1.gz
+
+uninstall-hook:
+ -rm -f $(DESTDIR)$(mandir)/man1/kmymoney2.1.gz