added rules to build binary release tarballs for Red Hat Linux.
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,6 +1,6 @@
|
||||
# tumble: build a PDF file from image files
|
||||
# Makefile
|
||||
# $Id: Makefile,v 1.29 2003/03/13 00:57:05 eric Exp $
|
||||
# $Id: Makefile,v 1.30 2003/03/13 03:42:23 eric Exp $
|
||||
# Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@@ -55,7 +55,7 @@ YFLAGS = -d -v
|
||||
# let me know why so I can improve this Makefile.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
VERSION = 0.24
|
||||
VERSION = 0.25
|
||||
|
||||
PACKAGE = tumble
|
||||
|
||||
@@ -120,6 +120,12 @@ dist: $(DISTFILES)
|
||||
-rm -rf $(DISTNAME)
|
||||
|
||||
|
||||
rh-rel := $(shell sed 's/^Red Hat Linux release \([0-9][0-9]*\.[0-9][0-9]*\) (.*)/\1/' </etc/redhat-release)
|
||||
|
||||
bin-dist-rh: COPYING $(TARGETS) /etc/redhat-release
|
||||
tar --gzip -chf $(DISTNAME)-${rh-rel}.tar.gz COPYING $(TARGETS)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o *.d $(TARGETS) $(AUTO_CSRCS) $(AUTO_HDRS) $(AUTO_MISC)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user