phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] old/packages/lint/checks copyright.check, 1.1 changel


From: skwashd
Subject: [Phpgroupware-cvs] old/packages/lint/checks copyright.check, 1.1 changelog.check, 1.1 doc.check, 1.1
Date: Thu, 5 May 2005 02:56:00 +0200

Update of old/packages/lint/checks

Added Files:
     Branch: MAIN
            copyright.check 
            changelog.check 
            doc.check 

Log Message:
cvs clean up

====================================================
Index: copyright.check
#!/usr/bin/make -f
#
# -----------------------------------------------------------------------------
# First coded by Luca - De Whiskey's - De Vitis <address@hidden> on 2002.6.21
# -----------------------------------------------------------------------------
# $Id: copyright.check,v 1.1 2005/05/05 00:56:39 skwashd Exp $
#
#   The phpgroupware packages utilities.
#   Copyright (C) 2002  Luca - De Whiskey's - De Vitis <address@hidden>
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

CHECKS += copyright

$(MODULES:%=%.lint.copyright): %.lint.copyright : %.lint.doc
        module=$(@:.lint.copyright=) ;\
        if [ -d $${module}/doc ] ; then \
                find $${module}/doc -maxdepth 1 -type f -name copyright\* | ( \
                        read copyright ;\
                        if [ -z "$${copyright}" ] ; then \
                                echo "failed" > $(@) ;\
                        else \
                                touch $(@) ;\
                        fi \
                ) ;\
        fi


====================================================
Index: changelog.check
#!/usr/bin/make -f
#
# -----------------------------------------------------------------------------
# First coded by Luca - De Whiskey's - De Vitis <address@hidden> on 2002.6.21
# -----------------------------------------------------------------------------
# $Id: changelog.check,v 1.1 2005/05/05 00:56:39 skwashd Exp $
#
#   The phpgroupware packages utilities.
#   Copyright (C) 2002  Luca - De Whiskey's - De Vitis <address@hidden>
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

CHECKS += changelog

$(MODULES:%=%.lint.changelog): %.lint.changelog : %.lint.doc
        module=$(@:.lint.changelog=) ;\
        if [ -d $${module}/doc ] ; then \
                find $${module}/doc -maxdepth 1 -type f -iname change\* | ( \
                        read changelog ;\
                        if [ -z "$${changelog}" ] ; then \
                                echo "failed" > $(@) ;\
                        else \
                                touch $(@) ;\
                        fi \
                ) ;\
        fi


====================================================
Index: doc.check
#!/usr/bin/make -f
#
# -----------------------------------------------------------------------------
# First coded by Luca - De Whiskey's - De Vitis <address@hidden> on 2002.6.21
# -----------------------------------------------------------------------------
# $Id: doc.check,v 1.1 2005/05/05 00:56:39 skwashd Exp $
#
#   The phpgroupware packages utilities.
#   Copyright (C) 2002  Luca - De Whiskey's - De Vitis <address@hidden>
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

CHECKS += doc

$(MODULES:%=%.lint.doc):
        if [ ! -d $(@:.lint.doc=)/doc ] ; then \
                echo "failed" > $(@) ;\
        else \
                touch $(@) ;\
        fi







reply via email to

[Prev in Thread] Current Thread [Next in Thread]