File: Makefile.am

package info (click to toggle)
eb 4.4.3-14.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,060 kB
  • sloc: ansic: 22,725; sh: 10,130; perl: 1,114; makefile: 706
file content (16 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bin_SCRIPTS = ebappendix

EXTRA_DIST = ebappendix.in
CLEANFILES = ebappendix ebappendix.tmp

ebappendix: ebappendix.in $(top_srcdir)/libebutils/getopt_long.pl Makefile
	rm -f ebappendix
	sed -e 's;\@PERL\@;$(PERL);' \
	    $(srcdir)/ebappendix.in | sed '/^$$/q' > ebappendix.tmp
	cat $(top_srcdir)/libebutils/getopt_long.pl >> ebappendix.tmp
	sed -e 's;\@VERSION\@;$(VERSION);' \
	   -e 's;\@MAILING_ADDRESS\@;$(MAILING_ADDRESS);' \
	   $(srcdir)/ebappendix.in | sed '1,/^$$/d' >> ebappendix.tmp
	cp ebappendix.tmp ebappendix
	chmod +x ebappendix
	rm -f ebappendix.tmp