[vhffs-dev] [svn] commit: r182 - /trunk/Makefile

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Fri Apr 14 17:03:08 2006
New Revision: 182

Log:
Improive makefile, add some missing packages


Modified:
    trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Apr 14 17:03:08 2006
@@ -13,6 +13,8 @@
 JABBERDIR=$(DESTDIR)/usr/share/vhffs/jabber/
 LEWEB=$(DESTDIR)/usr/share/vhffs/listengine/
 
+PERL_MODULES=HTML::Template Digest::MD5 CGI Locale::gettext Config::General DBI Email::Valid Crypt::PasswdMD5 GD::Text::Wrap GD MIME::Lite XML::RSS CGI::Session Encode utf8 LockFile::Simple
+DEBIAN_PACKAGES=libxml-rss-perl liblocale-gettext-perl libconfig-general-perl libhtml-template-perl libcrypt-passwdmd5-perl libgd-text-perl libmime-lite-perl libcgi-session-perl liblockfile-simple-perl libgd-perl
 
 install-debian: debian-deps install
 
@@ -25,15 +27,10 @@
 	#make test-deps - test if all dependencies are installed
 
 debian-deps:
-	/usr/bin/apt-get install 	libxml-rss-perl liblocale-gettext-perl \
-								libconfig-general-perl libhtml-template-perl\
-								libcrypt-passwdmd5-perl libgd-text-perl\
-								libmime-lite-perl libcgi-session-perl
+	/usr/bin/apt-get install $(DEBIAN_PACKAGES)
 
 test-deps:
-	echo "foreach ( qw(	HTML::Template Digest::MD5 CGI Locale::gettext Config::General DBI\
-							Email::Valid Crypt::PasswdMD5 GD::Text::Wrap GD MIME::Lite \
-							XML::RSS CGI::Session Encode utf8) ){\
+	echo "foreach ( qw(	$(PERL_MODULES) ) ){\
    		    \$$found = 0;\
         	\$$dep = \$$_;\
         	\$$dep =~ s/::/\//g;\




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/