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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
#
# 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
#
# 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
#
# 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
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs