summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-11-10 20:08:37 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 03:29:44 -0200
commitd662fac7b6541571ab9852f4e0290d48f0e97561 (patch)
tree82705bbcba2dc56eb5fcb2eb5c37d73b1d3d1db2 /Makefile.am
parentf964031d5f702ad17c76f7e7b1ab91efd56e0f01 (diff)
enable VPATH build, reorganize app default files
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
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) < $< > $@