diff --git a/src/Distribution/Simple/UUAGC/UUAGC.hs b/src/Distribution/Simple/UUAGC/UUAGC.hs
--- a/src/Distribution/Simple/UUAGC/UUAGC.hs
+++ b/src/Distribution/Simple/UUAGC/UUAGC.hs
@@ -224,11 +224,14 @@
      -> SDistFlags
      -> IO ()
 uuagcSDistHook uuagcPath pd mbLbi uh df = do
+  {-
   case mbLbi of
     Nothing -> warn normal "sdist: the local buildinfo was not present. Skipping AG initialization. Dist may fail."
     Just lbi -> let classesPath = buildDir lbi </> agClassesFile
                 in commonHook uuagcPath classesPath pd lbi (sDistVerbosity df)
   originalSDistHook pd mbLbi uh df
+  -}
+  originalSDistHook pd mbLbi (uh { hookedPreProcessors = ("ag", nouuagc):("lag",nouuagc):knownSuffixHandlers }) df  -- bypass preprocessors
 
 uuagcBuildHook
   :: FilePath
@@ -250,6 +253,7 @@
      -> IO ()
 commonHook uuagcPath classesPath pd lbi fl = do
   let verbosity = fromFlagOrDefault normal fl
+  when (verbosity >= verbose) $ putStrLn ("commonHook: Assuming AG classesPath: " ++ classesPath)
   createDirectoryIfMissingVerbose verbosity True (buildDir lbi)
   let lib    = library pd
       exes   = executables pd
@@ -282,6 +286,7 @@
                           print $ "processing: " ++ inFile ++ " generating: " ++ outFile
 --                          opts <- getAGFileOptions $ customFieldsBI build
                           let classesPath = buildDir lbi </> agClassesFile
+                          when (verbosity >= verbose) $ putStrLn ("uuagc-preprocessor: Assuming AG classesPath: " ++ classesPath)
                           fileOpts <- readFileOptions classesPath
                           let opts = case lookup inFile fileOpts of
                                        Nothing -> []
@@ -295,3 +300,11 @@
                             ExitSuccess   -> return ()
                             ExitFailure _ -> throwFailure
                 }
+
+nouuagc :: BuildInfo -> LocalBuildInfo -> PreProcessor
+nouuagc build lbi =
+  PreProcessor {
+    platformIndependent = True,
+    runPreProcessor = mkSimplePreProcessor $ \inFile outFile verbosity -> do
+      info verbosity ("skipping: " ++ outFile)
+  }
diff --git a/uuagc-cabal.cabal b/uuagc-cabal.cabal
--- a/uuagc-cabal.cabal
+++ b/uuagc-cabal.cabal
@@ -1,7 +1,7 @@
 cabal-version: >=1.8
 build-type: Simple
 name: uuagc-cabal
-version: 1.0.0.3
+version: 1.0.0.4
 license: BSD3
 license-file: LICENSE
 maintainer: Arie Middelkoop <ariem@cs.uu.nl>
