File: Makefile

package info (click to toggle)
yaws 1.65-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,164 kB
  • ctags: 3,907
  • sloc: erlang: 20,138; sh: 3,675; makefile: 556; ansic: 404; lisp: 79
file content (35 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (4)
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
33
34
35
#    -*- Makefile -*- 
#    File:	 Makefile  (/usr/local/src/yaws/yaws/applications/wiki/scripts/Makefile)
#    Author:	 Johan Bevemyr
#    Created:	 Sat May 17 13:15:29 2003
#    Purpose:   
 
include ../include.mk

SCRIPTS=importFiles getPassword updateWiki addFile

all: $(SCRIPTS)

addFile : addFile.src
	sed "s|%%ebindir%%|$(EBININSTALLDIR)|" $< > $@
	chmod +x $@

importFiles : importFiles.src
	sed "s|%%ebindir%%|$(EBININSTALLDIR)|" $< > $@
	chmod +x $@

getPassword : getPassword.src
	sed "s|%%ebindir%%|$(EBININSTALLDIR)|" $< > $@
	chmod +x $@

updateWiki : updateWiki.src
	sed "s|%%wikisrcdir%%|$(shell cd ../wiki ; pwd)|" $< > $@
	chmod +x $@

clean:
	rm importFiles getPassword updateWiki


install: