apple2pi/Makefile
2013-09-20 08:57:17 -07:00

28 lines
441 B
Makefile
Executable File

PACKAGE=a2pi
VERSION=0.9.0
DIST=$(PACKAGE)-$(VERSION)
DISTDIR=./$(DIST)
a2pi:
$(MAKE) -C src
clean:
-rm *.tar.gz
$(MAKE) -C src clean
install:
$(MAKE) -C src install
dist:
-rm -rf $(DISTDIR)
mkdir $(DISTDIR)
-chmod 777 $(DISTDIR)
-cp * $(DISTDIR)
cp -R ./debian $(DISTDIR)
cp -R ./docs $(DISTDIR)
cp -R ./share $(DISTDIR)
cp -R ./src $(DISTDIR)
-chmod -R a+r $(DISTDIR)
tar czf $(DIST).tar.gz $(DISTDIR)
rm -rf $(DISTDIR)