Changeset 65345


Ignore:
Timestamp:
May 31, 2015, 7:19:04 PM (9 years ago)
Author:
wenzeslaus
Message:

pythonlib: use .py extension for python files

The tmp file is now directly in the source directory and deleted with make clean.

This should enable autogenerating documentation from setup.py even when GRASS was not compiled. It also contributes to better editing.

Location:
grass/trunk/lib/python/script
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • grass/trunk/lib/python/script/Makefile

    r62097 r65345  
    1919        $(INSTALL_DATA) $< $@
    2020
    21 $(DSTDIR)/setup.py: $(OBJDIR)/setup.py | $(DSTDIR)
     21EXTRA_CLEAN_FILES = setup.tmp.py
     22
     23$(DSTDIR)/setup.py: setup.tmp.py | $(DSTDIR)
    2224        $(INSTALL_DATA) $< $@
    2325
    24 $(OBJDIR)/setup.py: setup.py.sed | $(OBJDIR)
     26setup.tmp.py: setup.py
    2527        sed \
    2628        -e 's#@LD_LIBRARY_PATH_VAR@#$(LD_LIBRARY_PATH_VAR)#' \
Note: See TracChangeset for help on using the changeset viewer.