1 # for `make release' and `make html'
7 SCRIPTDIR
= $(PREFIX
)/bin
8 MANDIR
= $(PREFIX
)/man
/man1
10 IPROG
=# flags for installing programs (default none)
11 IDATA
= -m
0644 # flags for installing data
18 $(CC
) $(CFLAGS
) -o
$@
$<
24 rm -f
*.1 base64
*.html
*.
tar.gz
27 halibut
--html
=$(DESTDIR
)/base64.html base64.but
30 mkdir
-p reltmp
/base64
31 ln
-s ..
/..
/base64.c reltmp
/base64
32 ln
-s ..
/..
/base64.1 reltmp
/base64
33 ln
-s ..
/..
/base64.but reltmp
/base64
34 ln
-s ..
/..
/Makefile reltmp
/base64
35 tar -C reltmp
-chzf
$(DESTDIR
)/base64.
tar.gz base64
38 install: install-progs install-man
41 $(INSTALL
) $(IPROG
) base64
$(BINDIR
)/base64
44 $(INSTALL
) $(IDATA
) base64.1
$(MANDIR
)/base64.1