changeset 1:39c6b570768d

Bug fix: script names no longer tracking versions. Bug fix: tar ball no longer assumes directory name. Bug fix: tar ball included SVN files.
author John Schneiderman <JohnMS@CodeGNU.com>
date Wed, 10 Mar 2010 07:07:18 +0000
parents c321d56f779c
children 9ecf26c73fb8
files Makefile
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Mar 10 05:33:07 2010 +0000
+++ b/Makefile	Wed Mar 10 07:07:18 2010 +0000
@@ -14,13 +14,13 @@
 #****    You should have received a copy of the GNU General Public License          *****
 #****    along with this program.  If not, see <http://www.gnu.org/licenses/>.      *****
 #****************************************************************************************
-VERSION = 1.4.1
+VERSION = 1.5.0
 bindir = "/usr/bin"
 datadir = "/usr/share"
 mandir = "/usr/share/man"
 
-ufpm: ufpm-${VERSION}.sh
-	@mv ufpm-${VERSION}.sh ufpm
+ufpm: ufpm.sh
+	@mv ufpm.sh ufpm
 	@echo We are ready to install now.
 
 .PHONY:all
@@ -52,10 +52,12 @@
 .PHONY:distclean
 distclean:
 	@rm -fdr *~ *core
-	@mv ufpm ufpm-${VERSION}.sh
+	@mv ufpm ufpm.sh
 	@echo Distribution clean finished.
 
 .PHONY:tar
-tar: ufpm-${VERSION}.sh
-	@tar -zcf ../ufpm-${VERSION}.tar.gz ../ufpm-${VERSION}
-	@echo Tarball created.
\ No newline at end of file
+tar: ufpm.sh
+	@cp --recursive . ../ufpm-${VERSION}
+	@tar -zcf ../ufpm-${VERSION}.tar.gz --exclude=*~ --exclude=.svn* ../ufpm-${VERSION}
+	@rm -fdr ../ufpm-${VERSION}
+	@echo Tarball created.