App-defaults file not supposed to have .ad suffix when installed Fix cpp
rules to set needed flags for app-defaults file
This commit is contained in:
parent
2770233069
commit
370b8c8f1c
|
@ -109,17 +109,19 @@ XPM_DATA = \
|
||||||
monitor.xpm \
|
monitor.xpm \
|
||||||
mouse.xpm
|
mouse.xpm
|
||||||
|
|
||||||
|
# Rules needed to cpp man page & app-defaults
|
||||||
|
include $(top_srcdir)/cpprules.in
|
||||||
|
|
||||||
# App default files (*.ad)
|
# App default files (*.ad)
|
||||||
|
|
||||||
appdefaultdir = $(sysconfdir)/X11/app-defaults
|
appdefaultdir = $(sysconfdir)/X11/app-defaults
|
||||||
|
|
||||||
APPDEFAULTFILES = XOrgCfg.ad
|
APPDEFAULTFILES = XOrgCfg
|
||||||
|
|
||||||
appdefault_DATA = $(APPDEFAULTFILES)
|
appdefault_DATA = $(APPDEFAULTFILES)
|
||||||
|
|
||||||
XOrgCfg.ad: XOrgCfg.pre
|
CPP_FILES_FLAGS = -D__VENDORNAME__="@VENDOR_STRING@" \
|
||||||
$(RAWCPP) $(RAWCPPFLAGS) -D__VENDORNAME__="@VENDOR_STRING@" \
|
-D__VENDORVERS__="@VENDOR_RELEASE@"
|
||||||
-D__VENDORVERS__="@VENDOR_RELEASE@" -o $@ $<
|
|
||||||
|
|
||||||
# Man page
|
# Man page
|
||||||
man1_MANS = xorgcfg.man
|
man1_MANS = xorgcfg.man
|
||||||
|
@ -130,7 +132,4 @@ EXTRA_DIST = $(XBM_DATA) $(XPM_DATA) XOrgCfg.pre xorgcfg.man.pre
|
||||||
|
|
||||||
CLEANFILES = $(APPDEFAULTFILES) $(man1_MANS)
|
CLEANFILES = $(APPDEFAULTFILES) $(man1_MANS)
|
||||||
|
|
||||||
# Rules needed to cpp man page
|
|
||||||
include $(top_srcdir)/cpprules.in
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue