diff options
Diffstat (limited to 'grc/src/platforms/python')
-rw-r--r-- | grc/src/platforms/python/Makefile.am | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/grc/src/platforms/python/Makefile.am b/grc/src/platforms/python/Makefile.am index 13b5f77d8..d50ed54ed 100644 --- a/grc/src/platforms/python/Makefile.am +++ b/grc/src/platforms/python/Makefile.am @@ -36,16 +36,14 @@ ourpython_PYTHON = \ Port.py \ __init__.py -BUILT_SOURCES = Constants.py - -Constants.py: Makefile $(srcdir)/Constants.py.in - sed \ +Constants.py: Makefile Constants.py.in + $(SED) \ -e 's|@PYTHONW[@]|$(PYTHONW)|g' \ -e 's|@datadir[@]|$(grc_python_data_dir)|g' \ -e 's|@blocksdir[@]|$(grc_python_blocks_dir)|g' \ -e 's|@docdir[@]|$(gr_docdir)|g' \ - $(srcdir)/Constants.py.in > $@ + $(srcdir)/$@.in > $@ EXTRA_DIST = $(srcdir)/Constants.py.in -MOSTLYCLEANFILES = $(BUILT_SOURCES) +MOSTLYCLEANFILES = Constants.py |