File: mkfilterhin

package info (click to toggle)
magicfilter 1.2-63
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,280 kB
  • ctags: 142
  • sloc: ansic: 1,292; makefile: 289; perl: 220; sh: 193
file content (7 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
#!/bin/sh
file=filters2.h.in
echo "/* $file: This file was automatically generated by mkfilterhin */" \
	> $file
grep 'AC_PATH_INCLUDE' ../configure.in | \
	sed -e 's/AC_PATH_INCLUDE(/#undef	HAVE_/' \
		-e 's/,.*$//' -e 'p' -e 's/HAVE_/PATH_/' >> $file