]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - htsn-import.cabal
Munge the XML_File_ID of a newsxml sample since it was modified by hand from another...
[dead/htsn-import.git] / htsn-import.cabal
index ab5bb7c13ae11e033f4aa7d1de62507b1802ff90..2c6c5426c672cefc9eaca31da18dd80a03e250a7 100644 (file)
@@ -8,12 +8,22 @@ license:        GPL-3
 license-file:   doc/LICENSE
 build-type:     Simple
 extra-source-files:
-  doc/htsnrc-import.example
+  doc/dbschema/*.png
+  doc/htsn-importrc.example
   doc/man1/htsn-import.1
+  doc/README.dbschema
+  doc/README.schemagen
+  doc/TODO
   makefile
   test/xml/*.xml
+  test/xml/*.dtd
   schema/*.dtd
-  schemagen/*/*.xml
+  schemagen/Heartbeat/*.xml
+  schemagen/injuriesxml/*.xml
+  schemagen/Injuries_Detail_XML/*.xml
+  schemagen/newsxml/*.xml
+  schemagen/Odds_XML/*.xml
+  schemagen/weatherxml/*.xml
 synopsis:
   Import XML files from The Sports Network into an RDBMS.
 description:
@@ -94,6 +104,7 @@ executable htsn-import
     ExitCodes
     OptionalConfiguration
     TSN.Codegen
+    TSN.Database
     TSN.DbImport
     TSN.Picklers
     TSN.XmlImport
@@ -102,6 +113,7 @@ executable htsn-import
     TSN.XML.InjuriesDetail
     TSN.XML.News
     TSN.XML.Odds
+    TSN.XML.Weather
     Xml
 
   ghc-options:
@@ -115,16 +127,17 @@ executable htsn-import
     -fwarn-incomplete-record-updates
     -fwarn-monomorphism-restriction
     -fwarn-unused-do-bind
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
     -O2
 
   ghc-prof-options:
     -prof
-    -auto-all
-    -caf-all
+    -fprof-auto
+    -fprof-cafs
+    -- The following unbreak profiling with template haskell. We have
+    -- to build the program twice; once without profile and again with
+    -- these flags.
+    -hisuf hi_p
+    -osuf o_p
 
 
 test-suite testsuite
@@ -164,10 +177,6 @@ test-suite testsuite
     -fwarn-incomplete-record-updates
     -fwarn-monomorphism-restriction
     -fwarn-unused-do-bind
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
     -O2