diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-11-09 09:28:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-11-09 09:28:00 +0100 |
commit | 6ec2edddcc2bd706091f31ef048c60b6adcb98c2 (patch) | |
tree | 2c7a663abee36543fea12478be071ac6e1ca71f5 | |
parent | e27773c9b317a5de2c9e8fe460dd34f9bce19939 (diff) | |
download | tderadio-6ec2edddcc2bd706091f31ef048c60b6adcb98c2.tar.gz tderadio-6ec2edddcc2bd706091f31ef048c60b6adcb98c2.zip |
Remove an unnecessary script for generating Makefile.am in 'presets' folders.r14.1.0
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-x | presets/update-makefile-dot-am.sh | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/presets/update-makefile-dot-am.sh b/presets/update-makefile-dot-am.sh deleted file mode 100755 index 0ce7d71..0000000 --- a/presets/update-makefile-dot-am.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -THIS="$0" -if [ ${THIS:0:1} != "/" ] ; then - if [ -e "$PWD/$THIS" ] ; then - THIS="$PWD/$THIS" - fi -fi - -THISDIR=$(pwd | sed "s/^.*presets\/\?//" ) -OUT=Makefile.am -HERE=$(pwd) - -echo -n "SUBDIRS =" > $OUT -echo -e "Makefile\nMakefile.in\nmaintainers.txt\nmakemaintainers" > .cvsignore - - -find -mindepth 1 -maxdepth 1 -type d | sed 's/^\.\///' | sed 's/\/$//' | grep -v CVS | \ - while read line; do - - echo -n " $line" >> $OUT - - cd "$line" - "$THIS" - cd "$HERE" - - done - -echo >> $OUT - - -if [ -n "$THISDIR" ] ; then - - echo -n "EXTRA_DIST =" >> $OUT - - - ls *.krp 2> /dev/null | while read line; do - echo -n " \"$line\"" >> $OUT - done - - echo >> $OUT - - echo -e "\ninstall-data-local:" >> $OUT - echo " \$(mkinstalldirs) \"\$(DESTDIR)\$(kde_datadir)/tderadio/presets/$THISDIR/\"" >> $OUT - - find -mindepth 1 -maxdepth 1 -name "*.krp" | sed 's/^\.\///' | \ - while read line; do - - echo " \$(INSTALL_DATA) \"\$(srcdir)/$line\" \"\$(DESTDIR)\$(kde_datadir)/tderadio/presets/$THISDIR/$line\"" >> $OUT - - done - - - echo -e "\n\nuninstall-local:" >> $OUT - - find -mindepth 1 -maxdepth 1 -name "*.krp" | sed 's/^\.\///' | \ - while read line; do - - echo " -rm -f \"\$(DESTDIR)\$(kde_datadir)/tderadio/presets/$THISDIR/$line\"" >> $OUT - - done - -fi |