summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-10-17 22:25:58 +0000
committerAdam Jackson <ajax@nwnk.net>2005-10-17 22:25:58 +0000
commit151ba8b67fd88a721f9f72d3019212b22f5cd3e2 (patch)
tree510d6d0d122ee51e1d0a56b58d68ba77d32ed7e2 /hw
parenteec3df1503e561aff6656e15c73b25a0bba1b06b (diff)
Work around automake-1.7 braindamage by providing an explicit rule for
XOrgCfg.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/utils/xorgcfg/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/utils/xorgcfg/Makefile.am b/hw/xfree86/utils/xorgcfg/Makefile.am
index 98195d083..46c316a8d 100644
--- a/hw/xfree86/utils/xorgcfg/Makefile.am
+++ b/hw/xfree86/utils/xorgcfg/Makefile.am
@@ -123,6 +123,11 @@ appdefault_DATA = $(APPDEFAULTFILES)
CPP_FILES_FLAGS = -D__VENDORNAME__="@VENDOR_STRING@" \
-D__VENDORVERS__="@VENDOR_RELEASE@"
+# dear automake: it would be really nice if you would actually put things into
+# .SUFFIXES so i wouldnt' have to do this.
+XOrgCfg: XOrgCfg.pre
+ $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
+
# Man page
man1_MANS = xorgcfg.man