File: [Platon] / phpMyEdit / Makefile (download)
Revision 1.20, Mon Dec 2 23:12:11 2002 UTC (21 years, 4 months ago) by nepto
Changes since 1.19: +3 -3
lines
Changed version to release candidate 3.
|
#
# Makefile for creating distribution of phpMyEdit.
# Type 'make dist' for create tar-gziped and zip archiv.
#
# Developed by Ondrej Jombik <nepto@pobox.sk>
# Based on the Makefile by Lubomir Host <rajo@host.sk>
# Copyright (c) 2002 Platon SDG, http://www.platon.sk/
#
# $Platon: phpMyEdit/Makefile,v 1.19 2002/11/24 16:58:39 nepto Exp $
PACKAGE = phpMyEdit
VERSION = 5.2rc3
VERSION_DIR = 5.2rc3
#
# If you want to add directory to distribution, you must write firstly
# directory name into list (with ending slash) and than files from
# that directory.
#
DISTFILES = phpMyEdit.class.php phpMyEditSetup.php timer.class \
lang/ \
lang/PME.lang.DE.inc lang/PME.lang.EN-US.inc \
lang/PME.lang.EN.inc lang/PME.lang.FR.inc \
lang/PME.lang.IT.inc lang/PME.lang.NL.inc \
lang/PME.lang.PG.inc lang/PME.lang.SK.inc \
lang/PME.lang.SP.inc lang/PME.lang.PL.inc \
lang/PME.lang.RU.inc \
images/ \
images/pme-change.png images/pme-copy.png \
images/pme-delete.png images/pme-view.png \
doc/ \
doc/ChangeLog doc/README doc/AUTHORS doc/TODO \
doc/COPYING doc/language-codes.txt
# Extension of archives
ZIP_EXT = .zip
TGZ_EXT = .tar.gz
#TAR = gtar
TAR = tar
ZIP = zip
ZIP_ENV = -r9
GZIP_ENV = --best
srcdir = .
distdir = $(PACKAGE)-$(VERSION_DIR)
packname = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
top_builddir = .
dist: distdir
GZIP=$(GZIP_ENV) $(TAR) chozf $(packname)$(TGZ_EXT) $(distdir)
# ZIP=$(ZIP_ENV) $(ZIP) $(packname)$(ZIP_EXT) $(distdir)
-rm -rf $(distdir)
dist-all: dist
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`;
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
mkdir $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
chmod -R u=rwX,g=,o=rX $(distdir)
Platon Group <platon@platon.org> http://platon.org/
|