Skip to content

Commit

Permalink
add a "DO NOT EDIT" notice to the top of Cabal-generated Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Marlow committed Jun 20, 2007
1 parent 8cfc230 commit bdcac3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Distribution/Simple/GHC.hs
Expand Up @@ -428,6 +428,7 @@ makefile pkg_descr lbi flags = do
("AR", arProg),
("LD", ld)
]
hPutStrLn h "# DO NOT EDIT! Automatically generated by Cabal\n"
hPutStrLn h (unlines (map (\(a,b)-> a ++ " = " ++ munge b) decls))
hPutStrLn h makefileTemplate
hClose h
Expand Down

0 comments on commit bdcac3a

Please sign in to comment.