--- Makefile.sav	Thu Dec  2 12:28:39 2004
+++ Makefile	Thu Dec  2 12:29:14 2004
@@ -7,7 +7,7 @@
 HC 		= ghc
 CC		= gcc
 CFLAGS		= -ibuild:src/lib:src/test -odir build -hidir build -fglasgow-exts -package unix -package util -package text \
-		  -package lang -package parsec
+		  -package lang -package parsec -package-name hsshellscript
 LIBS   		= build/libhsshellscript.a -syslib lang -syslib posix -syslib text -syslib util
 SRC_LIB_HS	= HsShellScript HsShellScript/Paths HsShellScript/Shell HsShellScript/Args
 SRC_LIB_CHS	= HsShellScript/Commands HsShellScript/ProcErr HsShellScript/Misc
@@ -40,7 +40,6 @@
 	cp -f build/HsShellScript.hi src/lib/hsshellscript.h $(DESTDIR)/$(DEST_IMPORTS)
 	cp -f build/HsShellScript/*.hi $(DESTDIR)/$(DEST_IMPORTS)/HsShellScript
 	chmod -R u=rwX,go=rX $(DESTDIR)/$(DEST_LIB)/libhsshellscript.a $(DESTDIR)/$(DEST_IMPORTS)/{HsShellScript,HsShellScript.hi}
-	ghc-pkg -i lib/hsshellscript.pkg --update-package --auto-ghci-libs
 
 install_doc :: build/apidoc/index.html build/manual/index.html
 	mkdir -p $(DESTDIR)/$(DEST_DOC)