Commits

camlspotter committed 7b35380

added omyapt hack

Comments (0)

Files changed (1)

 
 include OMyMakeroot
 
+# For the author's personal use
+if $(defined WithOMyApt)
+  RequireAptPackages(libgif-dev libjpeg62-dev libtiff4-dev libpng12-dev libfreetype6-dev libxpm-dev)
+
 ########################################## You may want to change these
 
 # Specify non standard include directories
   # Variables must be initialized inside .STATIC, if they should be
   # exported out.
 
-  # For the author's personal use
-  if $(defined WithOMyApt)
-    InstallAptPackages(libgif-dev libjpeg62-dev libtiff4-dev libpng12-dev libfreetype6-dev libxpm-dev)
-
   if $(not $(OCAMLFIND_EXISTS))
      eprintln(This project requires ocamlfind\, but is was not found.)
      eprintln(You need to install ocamlfind and run "omake --configure".)