summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 00000000..194a31d5
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,17 @@
+# doc/Makefile.am for Openbox
+
+CLEANFILES = openbox.1
+MAINTAINERCLEANFILES = Makefile.in
+man_MANS = openbox.1 bsetroot.1
+SUBDIRS =
+
+DEFAULT_MENU=$(pkgdatadir)/menu
+
+distclean-local:
+ rm -f *\~
+
+openbox.1: openbox.1.in
+ @regex_cmd@ -e "s,@defaultmenu@,$(DEFAULT_MENU)," \
+ -e "s,@pkgdatadir@,$(pkgdatadir)," \
+ -e "s,@version@,$(VERSION)," \
+ @srcdir@/openbox.1.in > openbox.1