Hi

I did a simple patch so that my "make build-rpm" would not choke on missing
"dat_files" directory.

please review following patch,

bash-4.1$ svn diff Makefile.in
Index: Makefile.in
===================================================================
--- Makefile.in (revision 6897)
+++ Makefile.in (working copy)
@@ -109,7 +109,7 @@

 httpdocs/geoip/GeoIPASNumv6.dat:
cd httpdocs/geoip; wget -nc
http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz;
gunzip -f GeoIPASNu\
mv6.dat.gz
-
+GeoipPath := httpdocs/geoip
 maketar:
        rm -rf ntopng-@PACKAGE_VERSION@
mkdir ntopng-@PACKAGE_VERSION@
@@ -120,8 +120,7 @@
#
        rm -rf ntopng-data-@PACKAGE_VERSION@
mkdir -p ntopng-data-@PACKAGE_VERSION
@/usr/local/share/ntopng/httpdocs/geoip/
-       cp ~/dat_files/* ntopng-data-@PACKAGE_VERSION
@/usr/local/share/ntopng/httpdocs/geoip/
-       gunzip ntopng-data-@PACKAGE_VERSION
@/usr/local/share/ntopng/httpdocs/geoip/*.gz
+       cp $(GeoipPath)/* ntopng-data-@PACKAGE_VERSION
@/usr/local/share/ntopng/httpdocs/geoip/
tar cvfz ntopng-data-@[email protected] ntopng-data-@PACKAGE_VERSION@


bash-4.1$

-- 
T.J. Yang
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to