diff -ru ../orig/darktable-0.7.1/Makefile.am ./Makefile.am
old
|
new
|
|
33 | 33 | else |
34 | 34 | EXTRA_DIST+=darktablerc |
35 | 35 | dtdataroot_DATA+=darktablerc |
| 36 | |
| 37 | darktablerc: tools/create_darktablerc.sh |
| 38 | tools/create_darktablerc.sh |
| 39 | |
36 | 40 | endif |
diff -ru ../orig/darktable-0.7.1/Makefile.in ./Makefile.in
old
|
new
|
|
999 | 999 | @GCONF_SCHEMAS_INSTALL_TRUE@@HAVE_GCONF_TRUE@ fi |
1000 | 1000 | @GCONF_SCHEMAS_INSTALL_FALSE@@HAVE_GCONF_TRUE@install-data-local: |
1001 | 1001 | |
| 1002 | @HAVE_GCONF_FALSE@darktablerc: tools/create_darktablerc.sh |
| 1003 | @HAVE_GCONF_FALSE@ tools/create_darktablerc.sh |
| 1004 | |
1002 | 1005 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
1003 | 1006 | # Otherwise a system limit (for SysV at least) may be exceeded. |
1004 | 1007 | .NOEXPORT: |
diff -ru ../orig/darktable-0.7.1/tools/create_darktablerc.sh ./tools/create_darktablerc.sh
old
|
new
|
|
2 | 2 | |
3 | 3 | cat darktable.schemas.in | grep '<key>' | sed -e 's/<key>//g' -e 's/<\/key>//g' -e 's/\/schemas\/apps\/darktable\///g' | nl -s: | sed -e 's/^[ \t]*//;s/[ \t]*$//' > dreggn1 |
4 | 4 | cat darktable.schemas.in | grep '<default>' | sed -e 's/<default>//g' -e 's/<\/default>//g' | nl -s: | sed -e 's/^[ \t]*//;s/[ \t]*$//' > dreggn2 |
5 | | join -j 1 -o 1.2 2.2 dreggn1 dreggn2 | sed -e 's/ /=/g' > darktablerc |
| 5 | join -1 1 -2 1 -o "1.2 2.2" dreggn1 dreggn2 | sed -e 's/ /=/g' > darktablerc |
6 | 6 | rm -f dreggn{1,2} |