Skip to content

Commit

Permalink
Adding source code to windows install
Browse files Browse the repository at this point in the history
  • Loading branch information
jrincayc committed Dec 26, 2019
1 parent 750ff0d commit 83cc26c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions inno/ucblogo.iss
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ DisableStartupPrompt=yes
DisableProgramGroupPage=yes
AllowNoIcons=yes
WindowStartMaximized=no
LicenseFile=C:\UCBLOGO\lib\logo\LICENSE
LicenseFile=..\LICENSE
PrivilegesRequiredOverridesAllowed=dialog commandline

[Components]
Name: "program"; Description: "Program Files"; Types: full compact custom; Flags: fixed
Name: "help"; Description: "Help Files"; Types: full compact custom
Name: "csls"; Description: "Programs from Computer Science Logo Style"; Types: full compact custom
Name: "pdf"; Description: "User Manual in PDF format"; Types: full custom
Name: "source"; Description: "Source Files"; Types: full custom

[Tasks]
Name: "programmenu"; Description: "Create a Program menu entry"; GroupDescription: "Shortcuts:"
Expand All @@ -40,7 +41,8 @@ Source: "C:\UCBLOGO\lib\logo\HELPFILES\*.*"; DestDir: "{app}\HELPFILE"; CopyMode
Source: "C:\UCBLOGO\lib\logo\LOGOLIB\*.*"; DestDir: "{app}\LOGOLIB"; CopyMode: alwaysoverwrite; Components: program
Source: "C:\UCBLOGO\lib\logo\LICENSE"; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: program
Source: "C:\UCBLOGO\lib\logo\README.txt"; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: program
Source: "C:\UCBLOGO\DOCS\usermanual.pdf"; DestDir: "{app}\DOCS"; CopyMode: alwaysoverwrite; Components: pdf
Source: "C:\UCBLOGO\lib\logo\usermanual.pdf"; DestDir: "{app}\DOCS"; CopyMode: alwaysoverwrite; Components: pdf
Source: "C:\UCBLOGO\lib\logo\SOURCE\*.*"; DestDir: "{app}\SOURCE"; CopyMode: alwaysoverwrite; Components: source

[Icons]
Name: "{group}\Berkeley Logo"; Filename: "{app}\ucblogo.exe"; WorkingDir: "{app}"; Tasks: programmenu
Expand All @@ -54,7 +56,7 @@ Root: HKA; Subkey: "Software\UCB\UCBLogo"; ValueType: string; ValueName: "HELPFI
Root: HKA; Subkey: "Software\UCB\UCBLogo"; ValueType: string; ValueName: "CSLS"; ValueData: "{app}\CSLS"

[Messages]
WelcomeLabel2=This will install [name/ver] on your computer.%n%nThis installer was created with the freeware Inno Setup Compiler by Jordan Russell with portions by Martijn Laan.%nhttp://www.wintax.nl/isx/
WelcomeLabel2=This will install [name/ver] on your computer.%n%nThis installer was created with the freeware Inno Setup Compiler by Jordan Russell with portions by Martijn Laan.%nhttp://www.jrsoftware.org/isinfo.php
LicenseLabel=UCBLogo is free, and has NO WARRANTY. (See sections 15 and 16 below.)%nThe other license provisions are only about distributing Logo to other people.
ComponentsDiskSpaceMBLabel=Current selection requires at least [kb] KB of disk space.

Expand Down
6 changes: 4 additions & 2 deletions makefile.msys
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,17 @@ ship:
rm -f makefile makehelp logo *.o libloc.c
cd docs; $(MAKE) ship

install: all
for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done
install_win: all
for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls $(LIBLOC)/source; do [ -d $$d ] || mkdir -p $$d || exit 1; done
cp logo.exe $(BINDIR)/ucblogo.exe
cp /mingw/bin/libgcc_s_dw2-1.dll /mingw/bin/libstdc++-6.dll $(BINDIR)/
cp -f logolib/* $(LIBLOC)/logolib/.
cp -f helpfiles/* $(LIBLOC)/helpfiles/.
cp -f csls/* $(LIBLOC)/csls/.
cp -f LICENSE $(LIBLOC)/
cp -f README.md $(LIBLOC)/README.txt
cp -f *.[ch]* makefile.msys ucblogo.xpm logo_win.rc logologo.ico makelib Messages docs/usermanual.texi $(LIBLOC)/source/
cp -f docs/usermanual.pdf $(LIBLOC)/
#(cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
# prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE) install

Expand Down

0 comments on commit 83cc26c

Please sign in to comment.