diff --git a/src/compiler/Setup.hs b/src/compiler/Setup.hs index 96189941a..938563802 100644 --- a/src/compiler/Setup.hs +++ b/src/compiler/Setup.hs @@ -170,11 +170,9 @@ setupWeb dest (pkg,lbi) = do if contrib_exists then mapM_ copy_pgf example_grammars else return () -- message already displayed from buildWeb - copyGFLogo where grammars_dir = www_dir "grammars" cloud_dir = www_dir "tmp" -- hmm - logo_dir = www_dir "Logos" www_dir = datadir (absoluteInstallDirs pkg lbi dest) "www" gfo_dir = buildDir lbi "examples" @@ -187,12 +185,6 @@ setupWeb dest (pkg,lbi) = do copyFile src dst else putStrLn $ "Not installing "++dst - gf_logo = "gf0.png" - - copyGFLogo = - do createDirectoryIfMissing True logo_dir - copyFile ("..""..""doc""Logos"gf_logo) (logo_dirgf_logo) - -- | Run an arbitrary system command, returning False on failure execute :: String -> [String] -> IO Bool execute command args = diff --git a/src/compiler/gf.cabal b/src/compiler/gf.cabal index bdfdfbb85..78573eb1a 100644 --- a/src/compiler/gf.cabal +++ b/src/compiler/gf.cabal @@ -16,6 +16,7 @@ tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4, GHC==9.0.2 data-files: www/*.html www/*.css + www/Logos/gf0.png www/P/*.png www/gfse/*.html www/gfse/*.css diff --git a/src/compiler/www/Logos/gf0.png b/src/compiler/www/Logos/gf0.png new file mode 100644 index 000000000..ffbe7a449 Binary files /dev/null and b/src/compiler/www/Logos/gf0.png differ