diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-14 01:12:07 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-14 01:12:07 +0000 |
commit | 00b3817d8c24dd400ff870bb02bc1c6ba2db1f05 (patch) | |
tree | 909647e9351f32ec057198bef9ac76b0decb30f5 /Makefile.am | |
parent | ba5f0c8d40af187191bcda8c8e72b3e554f3c50a (diff) |
Add shadow man pages for atobm and bmtoa.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 15 |
1 files changed, 13 insertions, 2 deletions
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) |