summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am15
2 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 55b1975..0878fbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-13 Alan Coopersmith <alan.coopersmith@sun.com>
+
+ * Makefile.am:
+ Add shadow man pages for atobm and bmtoa.
+
2005-10-05 Kevin E. Martin <kem-at-freedesktop-dot-org>
* Makefile.am:
diff --git a/Makefile.am b/Makefile.am
index d3e648c..88c7ff9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,10 +102,13 @@ dist_bitmap_DATA = \
appmandir = $(mandir)/man$(APP_MAN_SUFFIX)
-appman_DATA = $(appman_SOURCES:man=$(APP_MAN_SUFFIX))
+appman_DATA = $(appman_SOURCES:man=$(APP_MAN_SUFFIX)) \
+ $(man_shadows:=.$(APP_MAN_SUFFIX))
+
+BUILT_SOURCES = .shadows.DONE
EXTRA_DIST += $(appman_SOURCES)
-CLEANFILES += $(appman_DATA)
+CLEANFILES += $(appman_DATA) $(BUILT_SOURCES)
SED = sed
@@ -130,3 +133,11 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+man_shadows = atobm bmtoa
+
+.shadows.DONE:
+ -rm -f $(man_shadows:=.$(APP_MAN_SUFFIX))
+ (for i in $(man_shadows:=.$(APP_MAN_SUFFIX)) ; do \
+ echo .so man$(APP_MAN_SUFFIX)/bitmap.$(APP_MAN_SUFFIX) > $$i; \
+ done)