index 300e644..e1f8724 100644 (file)
@@ -63,10 +63,8 @@ JM: Sep. 27, 2007
  3. Removed parse_par => no command line options
  4. Can handle comments in spectrum file and removed the 'rather strict'
     ZOD_SPEC number of elements in spectrum :)
+ 5. More gnu-autotools friendly. Path to input data files are taken care of
 *--------------------------------------------------------------------------*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
 #include <libnova/solar.h>
 #include <libnova/transform.h>
 #include <libnova/julian_day.h>
@@ -95,9 +93,9 @@ void usage()
     printf ("        If no parameter file exists, new one will be created\n");
     printf ("        which may be edited as required\n\n");
     printf ("-----------------------------------------------------------\n");
-    printf ("Copyright (c) 2012, The CADS Team. [GPL v2.0 or later]\n");
-    printf ("Bug Reports   : cads.iiap.res.in/dropbux \n");
-    printf ("Documentation : cads.iiap.res.in/software\n\n");
+    printf ("Copyright (c) 2012 The CADS Team, IIAp. [GPL v3.0 or later]\n");
+    printf ("Report Bugs to: http://cads.iiap.res.in/bugzilla \n");
+    printf ("Documentation : http://cads.iiap.res.in/software\n\n");
 }/*End usage */
 
 /* ------------------------------------------------------------------------- */
@@ -131,7 +129,7 @@ void get_sun_hecl(float t_ut, int day, int month, int year,
 
     /* things are symmetric around 0 latitude here..  */
     f_temp    = fabs(eclcoords.lng - sun_ecl.lng);
-    
+
     /* wrap coordinates around 180 deg.*/
     if (f_temp > 180) f_temp = 360 - f_temp;
 
@@ -207,7 +205,7 @@ int main (int argc, char *argv[])
     hbeta_index = 0;
     while (table_beta[hbeta_index] < fabs(helio_beta))
         ++hbeta_index;
-    
+
     zod_intensity = zod_dist[hecl_index + hbeta_index*ZOD_XSIZE];
 
     /*Scale zodiacal light spectrum*/