diff options
author | Ed Catmur <ed@catmur.co.uk> | 2006-07-06 17:41:53 -0700 |
---|---|---|
committer | Donnie Berkholz <donnie@comet.(none)> | 2006-07-06 17:41:53 -0700 |
commit | 233c004641483a75985e09fea5416ab2c7a97fc4 (patch) | |
tree | f57754a2bf3e5a03c08f744868e6bb60b4066394 /hw | |
parent | b3e4d1d1f4bcf900146d7b8cd19e008209294663 (diff) |
Generate xprint.pre from xprint.cpp.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xprint/etc/init.d/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xprint/etc/init.d/Makefile.am b/hw/xprint/etc/init.d/Makefile.am index cc03cfab4..dfe801240 100644 --- a/hw/xprint/etc/init.d/Makefile.am +++ b/hw/xprint/etc/init.d/Makefile.am @@ -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 |