1 # for `make release' and `make html'
7 MANDIR
= $(PREFIX
)/man
/man1
9 IPROG
=# flags for installing programs (default none)
10 IDATA
= -m
0644 # flags for installing data
15 $(CC
) $(CFLAGS
) -o
$@
$<
21 rm -f
*.1 base64
*.html
*.
tar.gz
24 halibut
--html
=$(DESTDIR
)/base64.html base64.but
27 mkdir
-p reltmp
/base64
28 ln
-s ..
/..
/base64.c reltmp
/base64
29 ln
-s ..
/..
/base64.1 reltmp
/base64
30 ln
-s ..
/..
/base64.but reltmp
/base64
31 ln
-s ..
/..
/Makefile reltmp
/base64
32 tar -C reltmp
-chzf
$(DESTDIR
)/base64.
tar.gz base64
35 install: base64 base64.1
37 $(INSTALL
) $(IPROG
) base64
$(BINDIR
)/base64
39 $(INSTALL
) $(IDATA
) base64.1
$(MANDIR
)/base64.1