File: in-rules

package info (click to toggle)
nhc98 1.16-15
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 62,544 kB
  • ctags: 103,012
  • sloc: ansic: 831,077; haskell: 60,111; java: 4,116; makefile: 3,045; sh: 2,183; cpp: 212
file content (14 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include Makefile.inc

.PHONY: all

all:
	for i in debian/*.in; \
		do sed -e "s/^ARCH=.*/ARCH=$$(script/harch)/" \
		       -e "s/@VERSION@/$(VERSION)/g" \
									 < "$$i" \
		                             > $$(echo "$$i" | sed "s/\.in$$//"); \
		done