summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-10-08 23:39:04 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-08 23:39:04 -0700
commite854448a9bfcdfdeb6262b89a93bcbe8bcd7545c (patch)
tree7f3ebb12350119127351a8b3344b19b38b9a5bfe /man
parent1805655654217830ae943806e6a7d653cdc48047 (diff)
Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am16
1 files changed, 7 insertions, 9 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 52e5ad3..40467c4 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -30,14 +30,12 @@ LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
libman_PRE = XRes.man
-BUILT_SOURCES = shadows.DONE
-
EXTRA_DIST = $(libman_PRE)
CLEANFILES = $(libman_DATA) $(BUILT_SOURCES)
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
- $(XRes_shadows:=.@LIB_MAN_SUFFIX@)
+ $(XRes_shadowmen)
SED = sed
@@ -56,7 +54,7 @@ MAN_SUBSTS = \
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
.man.$(LIB_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
@@ -67,8 +65,8 @@ XRes_shadows = \
XResQueryClientResources \
XResQueryClientPixmapBytes
-shadows.DONE:
- -rm -f $(XRes_shadows:=.@LIB_MAN_SUFFIX@)
- (for i in $(XRes_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_DIR_SUFFIX)/XRes.$(LIB_MAN_SUFFIX) > $$i; \
- done)
+XRes_shadowmen = $(XRes_shadows:=.@LIB_MAN_SUFFIX@)
+
+$(XRes_shadowmen):
+ $(AM_V_GEN) echo .so man$(LIB_MAN_DIR_SUFFIX)/XRes.$(LIB_MAN_SUFFIX) > $@
+