1.1 --- a/Makefile Thu Mar 13 08:57:05 2003 +0000 1.2 +++ b/Makefile Thu Mar 13 11:42:23 2003 +0000 1.3 @@ -1,6 +1,6 @@ 1.4 # tumble: build a PDF file from image files 1.5 # Makefile 1.6 -# $Id: Makefile,v 1.29 2003/03/13 00:57:05 eric Exp $ 1.7 +# $Id: Makefile,v 1.30 2003/03/13 03:42:23 eric Exp $ 1.8 # Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.9 # 1.10 # This program is free software; you can redistribute it and/or modify 1.11 @@ -55,7 +55,7 @@ 1.12 # let me know why so I can improve this Makefile. 1.13 # ----------------------------------------------------------------------------- 1.14 1.15 -VERSION = 0.24 1.16 +VERSION = 0.25 1.17 1.18 PACKAGE = tumble 1.19 1.20 @@ -120,6 +120,12 @@ 1.21 -rm -rf $(DISTNAME) 1.22 1.23 1.24 +rh-rel := $(shell sed 's/^Red Hat Linux release \([0-9][0-9]*\.[0-9][0-9]*\) (.*)/\1/' </etc/redhat-release) 1.25 + 1.26 +bin-dist-rh: COPYING $(TARGETS) /etc/redhat-release 1.27 + tar --gzip -chf $(DISTNAME)-${rh-rel}.tar.gz COPYING $(TARGETS) 1.28 + 1.29 + 1.30 clean: 1.31 rm -f *.o *.d $(TARGETS) $(AUTO_CSRCS) $(AUTO_HDRS) $(AUTO_MISC) 1.32