Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, September 19, 2019

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

Revision 1.3, Fri May 6 23:33:29 2005 UTC (14 years, 4 months ago) by nepto


Changes since 1.2: +29 -11 lines

Updated list of distribution files.

#
# Makefile for creating distribution of mylist.
# Type 'make dist' for create tar-gziped and zip archiv. 
#
# Developed by Lubomir Host 'rajo' <rajo AT platon.sk>
# Copyright (c) 2004-2005 Platon SDG, http://platon.sk/
# Licensed under terms of GNU General Public License.
# All rights reserved.
#

# $Platon: mylist/Makefile,v 1.2 2005/04/09 19:04:23 nepto Exp $

PACKAGE     = mylist
VERSION     = 0.1
VERSION_DIR = 0.1
DATE        = 2005-04-05

export PACKAGE
export VERSION
export DATE

#
# 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.
#
# Wildcars usage is possible, but the convention allows it only for
# autogenerated files. Files in revision system such as CVS should be noted
# explicitly.
#

# DISTFILES_CORE {{{
DISTFILES_CORE =    \
                    mylist.config.php \
                    doc/ \
                    doc/Makefile \
                    doc/README doc/AUTHORS \
                    doc/COPYING \
                    backend \
                    backend/receiver \
                    backend/receiver/line2emails.php \
                    backend/receiver/receiver.php \
                    backend/receiver/validator.php \
                    backend/receiver/response.php \
                    backend/receiver/mylist.php \
                    backend/sender \
                    backend/sender/sender.php \
                    backend/sender/testSender.php \
                    backend/shared \
                    backend/shared/emailMessage.php \
                    backend/shared/mail.php \
                    backend/shared/mime.php \
                    backend/shared/mimeDecode.php \
                    backend/shared/sendmail.php \
                    backend/shared/smtp.php \
                    backend/shared/RFC822.php \
                    public_html \
                    public_html/css \
                    public_html/css/default.css \
                    public_html/mylist_archive.php \
                    public_html/mylist_archive_messages.php \
                    public_html/index.php \
                    public_html/mylist_apply4subscription.php \
                    public_html/mylist_create.php \
                    public_html/mylist_create_page.php \
                    public_html/mylist_edit.php \
                    public_html/mylist_edit_page.php \
                    public_html/mylist_list_page.php \
                    public_html/mylist_atts.php \
                    public_html/mylist_subscribe.php \
                    public_html/mylist_subscribe_page.php \
                    public_html/mylist_frontend_api.php \
                    public_html/mylist_tree.php \
                    public_html/mylist_unsubscribe.php \
                    public_html/mylist_core.php \
                    public_html/mylist_user_api.php \
                    public_html/mylist_view.php \
                    public_html/mylist_view_page.php \
                    public_html/mylist_delegate_page.php \
                    public_html/mylist_download_att.php \
                    public_html/mylist_frontend_web.php \
                    public_html/mylist_unsubscribe_page.php \
                    public_html/mylist_validate_input.php \
                    public_html/mylist_index.php \
                    public_html/mylist_list_details.php \
                    public_html/mylist_logout.php \
                    public_html/mylist_manage_threads.php \
                    public_html/mylist_print_message_page.php \
                    public_html/mylist_register.php \
                    public_html/mylist_report_thread.php \
                    public_html/mylist_search.php \
                    public_html/mylist_search_engine.php \
                    public_html/mylist_signin.php \
                    public_html/mylist_view_message_page.php \
                    public_html/mylist_view_messages.php \
                    public_html/mylist_list_users.php \
                    sql \
                    sql/ddl.sql \
                    sql/dml.sql
# }}}

DISTFILES_DOC =        doc/ \

# Extension of archives
ZIP_EXT         = .zip
TGZ_EXT         = .tar.gz
                
TAR             = tar
ZIP             = zip
ZIP_ENV         = -r9
GZIP_ENV        = --best

srcdir            = .
distdir            = $(PACKAGE)-$(VERSION_DIR)
packname_core    = $(PACKAGE)-$(VERSION)
packname_doc    = $(PACKAGE)-doc-$(VERSION)
top_distdir        = $(distdir)
top_builddir    = .

all: dist

clean:
    rm -rf doc/html/
    rm -rf doc/pdf

dist-all: dist
dist: dist-core dist-doc

dist-core: distdir-core
    GZIP=$(GZIP_ENV) $(TAR) chozf $(packname_core)$(TGZ_EXT) $(distdir)
#    ZIP=$(ZIP_ENV) $(ZIP) $(packname_core)$(ZIP_EXT) $(distdir)
    -rm -rf $(distdir)

dist-doc: distdir-doc
    GZIP=$(GZIP_ENV) $(TAR) chozf $(packname_doc)$(TGZ_EXT) $(distdir)
#    ZIP=$(ZIP_ENV) $(ZIP) $(packname_doc)$(ZIP_EXT) $(distdir)
    -rm -rf $(distdir)

distdir-core:
    @export _DISTFILES="$(DISTFILES_CORE)"; \
    $(MAKE) distdir

distdir-doc: documentation
    @export _DISTFILES="$(DISTFILES_DOC)"; \
    $(MAKE) distdir

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)

documentation:
    $(MAKE) -C doc all


# vim: fdm=marker fdc=3 fdl=0


Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top