summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 2a5abde..67fa26f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,13 +41,14 @@ appdefaultdir = $(sysconfdir)/X11/app-defaults
APPDEFAULTFILES = \
XFontSel
+SUFFIXES = .ad
-$(APPDEFAULTFILES): %: %.ad
+.ad:
cp $< $@
appdefault_DATA = $(APPDEFAULTFILES)
-EXTRA_DIST = $(foreach FILE, $(APPDEFAULTFILES), $(FILE).ad)
+EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad)
CLEANFILES = $(APPDEFAULTFILES)