File: mkfilterhin

package info (click to toggle)
magicfilter 1.2-68
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,292 kB
  • sloc: ansic: 1,292; makefile: 297; 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