Generate xprint.pre from xprint.cpp.

(cherry picked from 233c004641 commit)
This commit is contained in:
Ed Catmur 2006-07-06 17:48:51 -07:00 committed by Donnie Berkholz
parent 3af474609d
commit bd295749b7

View file

@ -1 +1,12 @@
include $(top_srcdir)/cpprules.in
noinst_PRE = xprint
BUILT_SOURCES = $(noinst_PRE)
CLEANFILES = $(noinst_PRE) xprint.pre
CPP_FILES_FLAGS = -DProjectRoot='"$(PROJECTROOT)"' -DOS_LINUX
xprint.pre: xprint.cpp
$(SED) -e 's/^\(\s\+\)#/\1XCOMM/' $< > $@
EXTRA_DIST = xprint.cpp