aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f9d42ddfa771f7ecf68b99cf9d5a2624ab8677d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
test.html: .unix test.em
	export PATH=.:$$PATH; em.sh test.em | htwrap.sh -t | htindex.sh -s > test.html

README.html: .unix README
	export PATH=.:$$PATH; em.sh README | htindex.sh -s > README.html

install: .unix
	install em.sh /usr/local/bin/em
	install htindex.sh /usr/local/bin/htindex
	install htwrap.sh /usr/local/bin/htwrap
	install emcollect emparse /usr/local/bin

clean:
	rm .unix

.unix:
	sed -i '1s,^#!/bin/awk,#!/usr/bin/awk,' emcollect emparse
	@touch .unix