File: Makefile.am

package info (click to toggle)
echoping 6.0.2-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,596 kB
  • ctags: 380
  • sloc: sh: 8,966; ansic: 3,350; makefile: 162
file content (12 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
SUBDIRS=@subdirs@
CONFIGURE_DEPENDENCIES=list-of-dirs.m4 ../configure-common.ac configure-plugins.ac

list-of-dirs.m4: 
	@echo "dnl Created automatically on `date`" > $@
	for file in `ls | grep -v CVS | grep -v autom4te`; do \
		if test -d $$file; then \
			echo "if test \"\$$$${file}_BUILD\" = 1; then" >> $@ ; \
			echo "  AC_CONFIG_SUBDIRS($$file)" >> $@ ; \
			echo "fi" >> $@ ; \
		fi \
	done