more GNU-make-ism in apps

Matthieu Herrb matthieu.herrb at laas.fr
Fri Jul 15 07:14:30 EST 2005


BSD make doesn't grok the construction used to build app-default files 
in apps. I propose to change them where applicable, modelled on the 
attached patch for beforelight.
Any objection, better solution, enhancements?
-- 
Matthieu Herrb
-------------- next part --------------
Index: Makefile.am
===================================================================
RCS file: /cvs/xorg/app/beforelight/Makefile.am,v
retrieving revision 1.4
diff -u -r1.4 Makefile.am
--- Makefile.am	23 Jun 2005 21:32:26 -0000	1.4
+++ Makefile.am	14 Jul 2005 21:11:04 -0000
@@ -41,10 +41,11 @@
 APPDEFAULTFILES = \
         B4light
 
-$(APPDEFAULTFILES): %: %.ad
+.ad:
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
 
 CLEANFILES = $(APPDEFAULTFILES)
 
+SUFFIXES = .ad


More information about the xorg-modular mailing list