Ticket #42: mythtv_distclean.patch
| File mythtv_distclean.patch, 1.1 KB (added by , 20 years ago) |
|---|
-
configure
2612 2612 if test $? -ne 0 ; then 2613 2613 mv -f $TMPH $MYTH_CONFIG_H 2614 2614 rm -f config.h 2615 ln -s $MYTH_CONFIG_H config.h2616 2615 else 2617 2616 echo "$MYTH_CONFIG_H is unchanged" 2618 2617 fi 2618 if ! test -L config.h ; then 2619 ln -s $MYTH_CONFIG_H config.h 2620 fi 2619 2621 2620 2622 if [ ! -e config.h ] ; then 2621 2623 ln -s $MYTH_CONFIG_H config.h … … 2623 2625 2624 2626 rm -f config.mak 2625 2627 ln -s $MYTH_CONFIG_MAK config.mak 2628 mkdir config 2629 cat - > config/Makefile <<END 2626 2630 2631 all: 2632 qmake_all: 2633 2634 clean: 2635 2636 install: 2637 uninstall: 2638 2639 distclean: clean 2640 -rm -f ../$MYTH_CONFIG_MAK 2641 -rm -f ../$MYTH_CONFIG_H 2642 -rm -f ../config.mak ../config.h 2643 -rm -f ../Makefile 2644 2645 END 2646 2627 2647 rm -f $TMPO $TMPC $TMPE $TMPS $TMPH 2628 2648 2629 2649 qmake mythtv.pro -
mythtv.pro
13 13 14 14 # Directories 15 15 SUBDIRS += libs filters programs themes i18n 16 # clean up config on distclean 17 SUBDIRS += config 16 18 17 19 using_frontend { 18 20 SUBDIRS += setup
