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