Rename 'name' ==> 'pkgname'.
--- a/Makefile Fri Jan 13 23:21:12 2012 +0200
+++ b/Makefile Fri Jan 13 23:26:28 2012 +0200
@@ -111,8 +111,8 @@
RST_FILES := $(wildcard *.rst)
HTML_FILES := $(RST_FILES:.rst=.html)
-name = gadict
-fullpkgname = $(name)-$(vmajor).$(vminor)
+pkgname = gadict
+fullpkgname = $(pkgname)-$(vmajor).$(vminor)
DIST_DIR = $(fullpkgname)
DISTSRC_DIR = $(fullpkgname)_src
@@ -135,7 +135,7 @@
.PHONY: deploy
deploy: deploy2sf
-SFTP_PATH = $(SF_USER),$(name)@frs.sourceforge.net
+SFTP_PATH = $(SF_USER),$(pkgname)@frs.sourceforge.net
# First time you deploy to SourceForge (sf) you need manually login to:
# $ sftp $(SFTP_PATH)
@@ -145,7 +145,7 @@
.PHONY: deploy2sf
deploy2sf: deploy2sf-doc deploy2sf-release deploy2sf-src
-# Will be accessed via http://$(name).sourceforge.net
+# Will be accessed via http://$(pkgname).sourceforge.net
.PHONY: deploy2sf-doc
deploy2sf-doc: $(HTML_FILES)
( echo 'cd htdocs'; \
@@ -174,7 +174,7 @@
.PHONY: deploy2sf-src
deploy2sf-src:
- hg push ssh://gavenkoa@hg.code.sf.net/p/$(name)/code
+ hg push ssh://gavenkoa@hg.code.sf.net/p/$(pkgname)/code
################################################################
# Dist targets.