From: Duncan C. <dun...@us...> - 2005-01-16 14:16:15
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/gconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14288/demo/gconf Modified Files: GConfDemo.hs Makefile Log Message: Update all the demos to use the new module names and write new makefiles. Index: Makefile =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/gconf/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile 27 Jul 2004 12:41:06 -0000 1.1 +++ Makefile 16 Jan 2005 14:15:32 -0000 1.2 @@ -1,11 +1,9 @@ -TOP = ../.. - -include $(TOP)/mk/config.mk -MAIN = GConfDemo.hs - -APPNAME = gconfDemo +PROG = gconfdemo +SOURCES = GConfDemo.hs -NEEDPACKAGES = gconf +$(PROG) : $(SOURCES) + ghc --make $< -o $@ -fglasgow-exts -fallow-overlapping-instances $(HCFLAGS) -include $(TOP)/mk/common.mk +clean: + rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG) Index: GConfDemo.hs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/gconf/GConfDemo.hs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GConfDemo.hs 27 Jul 2004 12:41:06 -0000 1.1 +++ GConfDemo.hs 16 Jan 2005 14:15:32 -0000 1.2 @@ -1,6 +1,6 @@ module Main where -import Gtk (initGUI, mainGUI) +import Graphics.UI.Gtk (initGUI, mainGUI) import System.Gnome.GConf import Monad (when) |