X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Smake;h=d8ddb389faa05115c992966bc2413019b4bde81e;hb=22c3b7ae0807d55ac6714d1f7ca9c5a5be6cc515;hp=a148027f2a7669ce9cfd6125e8e3351e25abd8af;hpb=e7e9816e897551cf832ab2191ff70e88bac5bc27;p=pspp diff --git a/Smake b/Smake index a148027f2a..d8ddb389fa 100644 --- a/Smake +++ b/Smake @@ -19,7 +19,7 @@ GNULIB_MODULES = \ count-one-bits \ crc \ crypto/md4 \ - crypto/md5 \ + crypto/rijndael \ dirname \ dtoastr \ environ \ @@ -33,6 +33,7 @@ GNULIB_MODULES = \ ftello \ fwriteerror \ getline \ + getpass \ gettext \ gettimeofday \ getopt-gnu \ @@ -368,7 +369,7 @@ prep_ph: echo >&2 "libtoolize not found"; \ exit 1; \ fi; \ - $$LIBTOOLIZE --force --automake + $$LIBTOOLIZE --force --automake --copy aclocal.m4: aclocal -I m4 -I gl/m4 @@ -438,14 +439,11 @@ clean: # with the alpha channels. Therefore, it is not recommended for production pspp builds, but might # be useful to get something working on a platform which doesn't have a working gimp. -#svg2png=convert $1 $3 +#svg2png=convert -background transparent $1 $3 -svg2png=gimp -i -b '(let* ((image (car (gimp-file-load 1 "$1" "$1")))) (gimp-image-attach-parasite image (list "gimp-comment" 0 "$(shell cat $2)")) (gimp-file-save 1 image (car (gimp-image-get-active-drawable image)) "$3" "$3")) (gimp-quit 1)' - - -src/ui/gui/icons/%.png: src/ui/gui/artwork/%.svg src/ui/gui/icons/COPYING_CCBYSA3 +src/ui/gui/icons/%.png: src/ui/gui/artwork/%.svg build-aux/svg2png src/ui/gui/icons/COPYING_CCBYSA3 mkdir -p $(dir $@) - $(call svg2png,$<,$(lastword $^),$@) + build-aux/svg2png "$<" "$(lastword $^)" "$@" src/ui/gui/icons/%.svg: src/ui/gui/artwork/%.svg