diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2007-07-27 12:53:38 +0000 |
---|---|---|
committer | Natanael Copa <natanael.copa@gmail.com> | 2007-07-27 12:53:38 +0000 |
commit | dc53423183a0c459284ebd139022b707f01af006 (patch) | |
tree | 8a67a2904ec991028bddd429d57eec114b05baab /www/Makefile | |
parent | 275c80281ba2e84b8d810bdb1c2b7f8c9a4333d9 (diff) | |
download | acf-core-dc53423183a0c459284ebd139022b707f01af006.tar.bz2 acf-core-dc53423183a0c459284ebd139022b707f01af006.tar.xz |
moved core files to new dir structurev2.0_alpha1
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@219 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'www/Makefile')
-rw-r--r-- | www/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile new file mode 100644 index 0000000..e208bdf --- /dev/null +++ b/www/Makefile @@ -0,0 +1,50 @@ +include ../config.mk + +WWW_DIST=cgi-bin/acf\ + cgi-bin/mvc.lua\ + static/alpine.gif\ + static/alpine.png\ + static/arctic-back.png\ + static/arctic-upleft.png\ + static/greypx.gif\ + static/selected.gif\ + static/submenu.css\ + static/unselected.gif\ + static/webconf-purple.css\ + static/webconf.css\ + index.html\ + sample.html + +EXTRA_DIST=Makefile +DISTFILES=$(WWW_DIST) $(EXTRA_DIST) + +install_dir=$(DESTDIR)/$(wwwdir) +dist_dir=$(DISTDIR)/$(notdir $(PWD)) + +phony+=all +all: + +phony+=clean +clean: + +phony+=distdir +distdir: $(DISTFILES) + mkdir -p "$(dist_dir)" + for i in $(DISTFILES); do\ + dest=`dirname "$(dist_dir)/$$i"`;\ + mkdir -p "$$dest";\ + cp "$$i" "$$dest";\ + done + +phony+=install +install: + mkdir -p $(install_dir) + for i in $(WWW_DIST); do\ + dest=`dirname "$(install_dir)/$$i"`;\ + mkdir -p "$$dest";\ + cp "$$i" "$$dest";\ + done + chmod +x $(install_dir)/cgi-bin/acf + + +.PHONY: $(phony) |