diff --git a/Makefile b/Makefile index 07e728b7..45911ec8 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ PYVER := 2.4 PYTHON := python$(PYVER) PACKAGE := linkchecker -NAME = $(shell $(PYTHON) setup.py --name) -VERSION = $(shell $(PYTHON) setup.py --version) +NAME := $(shell $(PYTHON) setup.py --name) +VERSION := $(shell $(PYTHON) setup.py --version) PACKAGEDIR = /home/groups/l/li/$(PACKAGE) #HTMLDIR=shell1.sourceforge.net:$(PACKAGEDIR)/htdocs HTMLDIR=/home/calvin/public_html/linkchecker.sf.net/htdocs @@ -31,12 +31,12 @@ clean: $(MAKE) -C po clean rm -f linkcheck/HtmlParser/htmlsax.so rm -f linkcheck/HtmlParser/*.output - find . -name '*.py[co]' | xargs rm -f + find . -name '*.py[co]' -exec rm -f {} \; distclean: clean cleandeb # just to be sure clean also the build dir rm -rf dist build - rm -f _$(PACKAGE)_configdata.py* MANIFEST Packages.gz + rm -f _$(PACKAGE)_configdata.py MANIFEST Packages.gz # clean aborted dist builds and -out files rm -f $(PACKAGE)-out* $(PACKAGE).prof $(PACKAGE)-md5sums.txt rm -rf $(PACKAGE)-$(VERSION)