File: Makefile

package info (click to toggle)
mh-e 6.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 692 kB
  • ctags: 441
  • sloc: lisp: 5,085; makefile: 195; sh: 110; perl: 71
file content (32 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: Makefile,v 1.4 2001/12/16 18:36:46 wohler Exp $
#
# Makefile for mh-e contributed software.
#
# Note: most changes to this file should also be mirrored in the
# Makefiles in $(TOP)/src and $(TOP)/doc.
#
TOP		= ..

MH-E-CONTRIB	=			\
	README				\
	mh-alias.el			\
	mh-frame.el			\
	multi-prompt.el


all: dist

# Create a distribution. 
dist:
	@echo "Determining release..."
	@TAG=`cvs stat Makefile | awk '/Sticky Tag/{print $$3}'`; \
        if [ "$$TAG" = "(none)" ]; then \
            echo "No sticky tags here. Do a 'cvs update -rmh-e-contrib-M_N'.";\
            exit 1; \
        fi; \
        RELEASE=`echo $$TAG | sed 's/_/./g'`; \
	echo "Building $$RELEASE..."; \
        rm -rf $$RELEASE; \
        mkdir $$RELEASE; \
        cp $(MH-E-CONTRIB) $$RELEASE; \
        tar -czhf $$RELEASE.tgz $$RELEASE