From: Duncan C. <dun...@us...> - 2005-01-16 14:15:48
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/sourceview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14288/demo/sourceview Modified Files: Makefile SourceViewTest.hs Log Message: Update all the demos to use the new module names and write new makefiles. Index: SourceViewTest.hs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/sourceview/SourceViewTest.hs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- SourceViewTest.hs 2 May 2004 13:13:26 -0000 1.3 +++ SourceViewTest.hs 16 Jan 2005 14:15:36 -0000 1.4 @@ -1,11 +1,8 @@ -- Test file for the SourceView widget. module Main where -import Gtk -import SourceView -import SourceBuffer -import SourceLanguage -import SourceLanguagesManager +import Graphics.UI.Gtk +import Graphics.UI.Gtk.SourceView main = do initGUI Index: Makefile =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/sourceview/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile 2 May 2004 13:13:26 -0000 1.2 +++ Makefile 16 Jan 2005 14:15:35 -0000 1.3 @@ -1,13 +1,9 @@ -TOP = ../.. - -include $(TOP)/mk/config.mk - -MAIN = SourceViewTest.hs - -APPNAME = sourceview -NEEDPACKAGES = sourceview +PROG = sourceview +SOURCES = SourceViewTest.hs -EXTRA_TARFILES += haskell.lang +$(PROG) : $(SOURCES) + ghc --make $< -o $@ $(HCFLAGS) -include $(TOP)/mk/common.mk +clean: + rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG) |