Browse Source

Improve 0install script

 - Add build info
Leo 10 years ago
parent
commit
8d2c61ec11
2 changed files with 6 additions and 4 deletions
  1. 6 1
      0install.sh
  2. 0 3
      TODO.md

+ 6 - 1
0install.sh

@@ -2,18 +2,23 @@
 
 # Script to create 0install archives
 
+# Get and set compilation settings
+./configure --disable-debug --disable-docs --disable-profile --disable-tests > BUILD_INFO.txt
+
 # First compile
 make
 
 # Copy in dist
 cp ./_build/src/oclaunch.native ./dist/oclaunch
+# Move BUILD_INFO
+mv BUILD_INFO.txt ./dist/
 
 cd dist
 # Archive name
 name=oclaunch-v$(cat ../VERSION)
 mkdir $name
 # Put executable in it
-mv oclaunch $name
+mv oclaunch BUILD_INFO.txt $name
 
 # XXX Debug
 tree

+ 0 - 3
TODO.md

@@ -9,9 +9,6 @@
 
 ## Short term
 
-### Commands
- + Add command to modify configuration file
-
 ### Configuration value
  + Make displaying command before launching configurable
  + Allow to run infinitely or say when it is finish