home *** CD-ROM | disk | FTP | other *** search
- (set #inst_text "BackClock Installation on Hard Disk")
- (set #prog "backclock.")
- (set @minuser "Intermediate")
- (set @appname "BackClock")
- (set @user-level 2)
-
-
- (set #destdir_prompt "Where do you want to install BackClock\nA drawer will be created.")
-
- (set #destdir
- (askdir
- (prompt #destdir_prompt)
- (help @askdir-help)
- (default "Work:")
- )
- )
-
- (set #choice
- (askchoice
- (prompt "What type of CPU do you have ?")
- (help "Select with the gadget what type of "
- "microprocessor you have.")
- (choices
- "68020"
- "68030 + 68882"
- "68040"
- "68060"
- )
- )
- )
- (select #choice
- (set #prog (cat #prog "020"))
- (set #prog (cat #prog "030"))
- (set #prog (cat #prog "040"))
- (set #prog (cat #prog "060"))
- )
- (set @default-dest (tackon #destdir "BackClock"))
- (if (not (exists (@default-dest)))
- (makedir @default-dest (infos))
- )
- (if (not (exists (tackon @default-dest "sources")))
- (makedir (tackon @default-dest "sources"))
- )
-
- (copyfiles
- (prompt "Copying main files")
- (help "Copy the executable files ant its icon")
- (source (tackon "bin/" #prog))
- (dest @default-dest)
- (newname "BackClock")
- )
-
- (copyfiles
- (prompt "Copying Icon of the main file")
- (help "Copy the icon of the maon file in the path you choosed")
- (source "bin/backclock.info")
- (dest @default-dest)
- )
-
- (copyfiles
- (prompt "Cpying documentation")
- (help "Copy the documentation in the path you choosed")
- (source "docs/backclock.guide")
- (dest @default-dest)
- (infos)
- )
-
- (copyfiles
- (prompt "Copying sources")
- (help "Copy the sources in C in the the path you choosed")
- (source "sources/")
- (dest (tackon @default-dest "sources"))
- (all)
- )
-
-