summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
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