Home | History | Annotate | Line # | Download | only in misc
Makefile revision 1.1
      1  1.1  tv #	$NetBSD: Makefile,v 1.1 2002/04/12 23:11:59 tv Exp $
      2  1.1  tv 
      3  1.1  tv MISCFILES=	pfdisk.doc pfdisk.exe pfdisktc.zip \
      4  1.1  tv 		rawr32.zip rawr32src.zip \
      5  1.1  tv 		rawrite.c rawrite.doc rawrite.exe
      6  1.1  tv 
      7  1.1  tv CLEANFILES=	${MISCFILES:M*.exe} ${MISCFILES:M*.doc}
      8  1.1  tv 
      9  1.1  tv .include <bsd.hostprog.mk>
     10  1.1  tv 
     11  1.1  tv .SUFFIXES: .gze .exe .txt .doc
     12  1.1  tv 
     13  1.1  tv # Extract gzipped plain executables.
     14  1.1  tv .gze.exe:
     15  1.1  tv 	gzip -dc $< >$@
     16  1.1  tv 
     17  1.1  tv # Convert Unix (LF) to DOS (CR-LF) line-ending.
     18  1.1  tv .txt.doc:
     19  1.1  tv 	awk '{printf "%s\r\n", $$0}' $< >$@
     20  1.1  tv 
     21  1.1  tv realall: ${MISCFILES}
     22  1.1  tv 
     23  1.1  tv .ifndef RELEASEDIR
     24  1.1  tv release:
     25  1.1  tv 	@echo setenv RELEASEDIR first
     26  1.1  tv 	@false
     27  1.1  tv .else
     28  1.1  tv release: ${MISCFILES}
     29  1.1  tv 	${HOST_INSTALL_FILE} -m 0644 $> ${RELEASEDIR}/installation/misc
     30  1.1  tv .endif
     31