File: Makefile

package info (click to toggle)
perl-byacc 2.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 716 kB
  • sloc: ansic: 7,136; yacc: 2,035; perl: 1,779; makefile: 206; sh: 9
file content (28 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (6)
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
# $Id: Makefile,v 1.1 2002/04/10 04:58:09 srz Exp $

VERSION=0.6

all: CalcParser.pm GenParser.pm

CalcParser.pm: calc.y
	pbyacc -P CalcParser calc.y

GenParser.pm: gen.y
	pbyacc -P GenParser gen.y

clean:
	-rm -f CalcParser.pm GenParser.pm

patch:
	cd ..; \
	diff -C 2 perl-byacc1.8.2.orig perl-byacc1.8.2 > patch; \
	mv patch perl5-byacc-patches

dist:
	cd ..; \
	mv perl5-byacc-patches perl5-byacc-patches-$(VERSION); \
	tar cvf perl5-byacc-patches-$(VERSION).tar \
	  `find perl5-byacc-patches-$(VERSION) -type f | grep -v CVS`; \
	gzip perl5-byacc-patches-$(VERSION).tar; \
	mv perl5-byacc-patches-$(VERSION) perl5-byacc-patches; \
	mv perl5-byacc-patches-$(VERSION).tar.gz perl5-byacc-patches