summaryrefslogtreecommitdiffstats
path: root/doc/man/Makefile.am
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-10-30 06:28:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-10-30 06:44:18 +0900
commit30a13fe52bad5280fd3915acac8cd107ad1b98b3 (patch)
tree44f9d5435ced7dc7dcc2d97bb6a57296065cdb24 /doc/man/Makefile.am
parentf6fbaeafc93f607ed98a220d00be3dc98a77ecb4 (diff)
downloadkrusader-30a13fe5.tar.gz
krusader-30a13fe5.zip
Restructure location of man file so that the 'tde_conditional_add_project_docs' macro will correctly handled it during cmake build
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 21b05d767551100a1ed28f32db89a5a5971a6684)
Diffstat (limited to 'doc/man/Makefile.am')
-rw-r--r--doc/man/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
new file mode 100644
index 0000000..e1d8c01
--- /dev/null
+++ b/doc/man/Makefile.am
@@ -0,0 +1,8 @@
+EXTRA_DIST = krusader.1
+
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
+ $(INSTALL_DATA) $(srcdir)/krusader.1 $(DESTDIR)$(mandir)/man1/krusader.1
+
+uninstall-local:
+ -rm -f $(DESTDIR)$(mandir)/man1/krusader.1