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 \
|
||||
mouse.xpm
|
||||
|
||||
# Rules needed to cpp man page & app-defaults
|
||||
include $(top_srcdir)/cpprules.in
|
||||
|
||||
# App default files (*.ad)
|
||||
|
||||
appdefaultdir = $(sysconfdir)/X11/app-defaults
|
||||
|
||||
APPDEFAULTFILES = XOrgCfg.ad
|
||||
APPDEFAULTFILES = XOrgCfg
|
||||
|
||||
appdefault_DATA = $(APPDEFAULTFILES)
|
||||
|
||||
XOrgCfg.ad: XOrgCfg.pre
|
||||
$(RAWCPP) $(RAWCPPFLAGS) -D__VENDORNAME__="@VENDOR_STRING@" \
|
||||
-D__VENDORVERS__="@VENDOR_RELEASE@" -o $@ $<
|
||||
CPP_FILES_FLAGS = -D__VENDORNAME__="@VENDOR_STRING@" \
|
||||
-D__VENDORVERS__="@VENDOR_RELEASE@"
|
||||
|
||||
# Man page
|
||||
man1_MANS = xorgcfg.man
|
||||
|
@ -130,7 +132,4 @@ EXTRA_DIST = $(XBM_DATA) $(XPM_DATA) XOrgCfg.pre xorgcfg.man.pre
|
|||
|
||||
CLEANFILES = $(APPDEFAULTFILES) $(man1_MANS)
|
||||
|
||||
# Rules needed to cpp man page
|
||||
include $(top_srcdir)/cpprules.in
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user