Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

File: [Platon] / phpMyEdit / Makefile (download)

Revision 1.8, Fri Oct 18 20:59:57 2002 UTC (21 years, 5 months ago) by nepto

Changes since 1.7: +3 -3 lines

Changed version from 5.1 to 5.1.1.

#
# 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.7 2002/10/17 21:06:46 nepto Exp $

PACKAGE     = phpMyEdit
VERSION     = 5.1.1
VERSION_DIR = 5.1.1

#
# 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 \
            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/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top