winamp/Src/external_dependencies/openmpt-trunk/include/lhasa/pkg/win32/GNUmakefile

27 lines
571 B
Makefile
Raw Normal View History

2024-09-24 12:54:57 +00:00
include ../config.make
TOPLEVEL=../..
EXE_FILES=$(TOPLEVEL)/src/lha.exe
ZIP=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-win32.zip
$(ZIP): staging
zip -j -r $@ staging/
staging: $(EXE_FILES) $(patsubst %,$(TOPLEVEL)/%,$(DOC_FILES))
rm -rf staging
mkdir staging
cp $(EXE_FILES) staging/
$(STRIP) staging/*.exe
for f in $(DOC_FILES); do \
cp $(TOPLEVEL)/$$f staging/$$f.txt; \
unix2dos staging/$$f.txt; \
done
groff -Thtml -mandoc $(TOPLEVEL)/doc/lha.1 > staging/lha.html
clean:
rm -rf $(ZIP)
rm -rf staging