diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-11-10 20:08:37 +0100 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 03:29:44 -0200 |
commit | d662fac7b6541571ab9852f4e0290d48f0e97561 (patch) | |
tree | 82705bbcba2dc56eb5fcb2eb5c37d73b1d3d1db2 | |
parent | f964031d5f702ad17c76f7e7b1ab91efd56e0f01 (diff) |
enable VPATH build, reorganize app default files
-rw-r--r-- | Makefile.am | 19 | ||||
-rw-r--r-- | app-defaults/Xgc (renamed from app-defaults/Xgc.ad) | 0 |
2 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) < $< > $@ diff --git a/app-defaults/Xgc.ad b/app-defaults/Xgc index 7695abb..7695abb 100644 --- a/app-defaults/Xgc.ad +++ b/app-defaults/Xgc |