summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-27 22:30:58 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-27 22:30:58 +0000
commitd15169a6a4c05a63b17ae630c9ade3b14a3d7181 (patch)
tree62a512c093979be8b8a9f7fb09fd8692e7882bcc /Makefile.am
parent349b2847900798cacdfe358eb8eb4773106657e8 (diff)
Use $(foreach ) instead of listing the appdefaults files twice
Diffstat (limited to 'Makefile.am')
-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 $< $@