summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-14 01:12:07 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-14 01:12:07 +0000
commit00b3817d8c24dd400ff870bb02bc1c6ba2db1f05 (patch)
tree909647e9351f32ec057198bef9ac76b0decb30f5
parentba5f0c8d40af187191bcda8c8e72b3e554f3c50a (diff)
Add shadow man pages for atobm and bmtoa.
-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)