summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Th?bault <damien.thebault@gmail.com>2008-08-26 14:16:44 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-08-26 14:16:44 -0700
commit753bf38ceca4a0c8d6c6c1845b4387e4b3c9e4f0 (patch)
tree67593cf2cbbf45f44135b34b1154ed32d09d1b1c
parenta0b2aac596ea2cbe4d0ec1ef8c406ad98f0c499d (diff)
Bug 17314: libXau's Makefile.am should have proper man creation rules
X.Org Bugzilla #17314 <http://bugs.freedesktop.org/show_bug.cgi?id=17314> Patch #18528 <http://bugs.freedesktop.org/attachment.cgi?id=18528> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index b597622..635fdb9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,7 +56,7 @@ LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
libmandir = $(LIB_MAN_DIR)
libman_PRE = Xau.man
-BUILT_SOURCES = shadows.DONE
+BUILT_SOURCES = $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) $(lintlib_DATA)
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(Xau_shadows:=.@LIB_MAN_SUFFIX@)
@@ -73,12 +73,9 @@ Xau_shadows = \
XauGetAuthByAddr \
XauGetBestAuthByAddr
-shadows.DONE:
- -rm -f $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
- (for i in $(Xau_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $$i; \
- done)
- touch shadows.DONE
+Xau_shadows_man = $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
+$(Xau_shadows_man):
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $@
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11