summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 5dcf588..a8670dc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,14 +45,12 @@ dist_man_MANS = \
appdefaultdir = $(sysconfdir)/X11/app-defaults
-EXTRA_DIST = \
- Edit-col.ad \
- Editres.ad
-
APPDEFAULTFILES = \
Edit-col \
Editres
+EXTRA_DIST = $(foreach X, $(APPDEFAULTFILES), $(X).ad)
+
$(APPDEFAULTFILES): %: %.ad
cp $< $@