File: Makefile.am

package info (click to toggle)
xtermcontrol 2.9-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 588 kB
  • ctags: 188
  • sloc: ansic: 2,140; sh: 784; makefile: 86
file content (19 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

CLEANFILES = $(PACKAGE).sh

ROOTNAME = xtermcontrol

EXTRA_DIST = $(ROOTNAME).test

all: $(PACKAGE).sh

test: $(PACKAGE).sh
	./$(PACKAGE).sh

$(PACKAGE).sh: $(ROOTNAME).test
	@echo '#! /bin/sh -e' > $@;\
	echo ' ' >> $@;\
	echo "XTC=\"../src/$(PACKAGE)\"" >> $@;\
	cat $(srcdir)/$(ROOTNAME).test >> $@;\
	chmod 700 $@;