You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
447 B
Makefile
28 lines
447 B
Makefile
# Make archives for distribution
|
|
|
|
include version.mif
|
|
|
|
PDC_DIR=PDCurses-$(VERDOT)
|
|
|
|
ZIPFILE = pdcurs$(VER).zip
|
|
TARBALL = $(PDC_DIR).tar.gz
|
|
|
|
all:
|
|
@echo Look in folders for platform-specific build instructions.
|
|
|
|
manual:
|
|
cd man; $(MAKE) $(MFLAGS) $@
|
|
|
|
$(ZIPFILE):
|
|
zip -9ory $(ZIPFILE) *
|
|
|
|
zip: $(ZIPFILE)
|
|
|
|
../$(TARBALL):
|
|
(cd ..; tar cvf - $(PDC_DIR)/* | gzip -9 > $(TARBALL))
|
|
|
|
dist: ../$(TARBALL)
|
|
|
|
rpm: ../$(TARBALL)
|
|
rpmbuild -ba x11/PDCurses.spec
|