Permalink
Browse files

Add a README file for Windows.

darcs-hash:20080308130228-db91e-db8d8c444056658c79591a7bfa917f4834640902.gz
  • Loading branch information...
1 parent 81c7c65 commit 9d8f288b8ae423f5f6ebd1c29d2755bae3b6cd98 @kowey kowey committed Mar 8, 2008
Showing with 14 additions and 0 deletions.
  1. +13 −0 configure
  2. +1 −0 makefile
View
@@ -1046,6 +1046,19 @@ rm -f config/wxhaskell-unregister-temp
echo " config/setcd"
cp bin/setcd config/setcd
+cat > config/README-template-windows << EOF
+Click on the newly created wxhaskell-${version}\\bin\\wxhaskell-register.bat
+program to register the wxHaskell package.
+
+To uninstall, you can click on
+wxhaskell-${version}\\bin\\wxhaskell-unregister.bat and than remove the
+wxhaskell-${version} directory.
+EOF
+
+if test "$wxtoolkit" = "msw"; then
+ cat config/README-template-windows | sed -e "s|\${version}|${version}|g" > README
+fi
+
# generate maxosx installer files.
echo " config/macosx-install.info"
cat > config/macosx-install.info << EOF
View
@@ -362,6 +362,7 @@ bindist: bindist-clean dist-dirs wxc-bindist wxcore-bindist wx-bindist docdist
ifeq ($(TOOLKIT),msw)
@$(call cp-bindist,config,$(BINDIST-BINDIR),config/wxcore-partial.pkg config/wx-partial.pkg)
@$(call cp-bindist,config,$(BINDIST-BINDIR),config/wxhaskell-register.bat config/wxhaskell-unregister.bat config/setcd)
+ @$(call cp-bindist,.,$(BINDIST-BINDIR),README)
else
@$(call cp-bindist,bin,$(BINDIST-BINDIR),bin/wxhaskell-register bin/wxhaskell-unregister)
endif

0 comments on commit 9d8f288

Please sign in to comment.