File: Makefile.include

package info (click to toggle)
surfraw 2.1.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 780 kB
  • ctags: 139
  • sloc: sh: 7,085; perl: 355; makefile: 155
file content (13 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# $Id: Makefile.include,v 1.2 2004/02/06 00:31:05 ianb-guest Exp $

%: %.IN
	-rm -f $@ $@.tmp
	sed 's,@bindir\@,${bindir},g; \
	     s,@mandir\@,${mandir},g; \
	     s,@VERSION\@,${VERSION},g; \
	     s,@prefix\@,${prefix},g; \
	     s,@ELVIDIR\@,${ELVIDIR},g; \
	     s,@sysconfdir\@,${sysconfdir},g' $< >$@.tmp
	chmod +x $@.tmp
	mv $@.tmp $@