diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am index 213c499..4601ca0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,22 +51,15 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES) gram.h: gram.c -# App default files (*.ad) +# App default files appdefaultdir = @appdefaultdir@ - -APPDEFAULTFILES = \ +dist_appdefault_DATA = \ app-defaults/Xgc -SUFFIXES = .ad - -.ad: - cp $< $@ -appdefault_DATA = $(APPDEFAULTFILES) - -EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) tile Bugs \ +EXTRA_DIST = tile Bugs \ Written/FilledRects \ Written/Interface \ Written/Jim \ @@ -75,15 +68,13 @@ EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) tile Bugs \ Written/Outline \ Written/Widget -CLEANFILES = $(APPDEFAULTFILES) - appmandir = $(APP_MAN_DIR) appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) EXTRA_DIST += $(appman_PRE) -CLEANFILES += $(appman_DATA) +CLEANFILES = $(appman_DATA) SED = sed @@ -104,7 +95,7 @@ MAN_SUBSTS = \ -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' -SUFFIXES += .$(APP_MAN_SUFFIX) .man +SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ |