From d15169a6a4c05a63b17ae630c9ade3b14a3d7181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Mon, 27 Jun 2005 22:30:58 +0000 Subject: Use $(foreach ) instead of listing the appdefaults files twice --- Makefile.am | 6 ++---- 1 file 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 $< $@ -- cgit v1.2.3