/[svn]/gigedit/trunk/Makefile.cvs
ViewVC logotype

Diff of /gigedit/trunk/Makefile.cvs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2794 by persson, Wed Jul 29 18:02:35 2009 UTC revision 2795 by schoenebeck, Fri Jul 17 12:06:00 2015 UTC
# Line 1  Line 1 
1  default: all  default: all
2    
3  all: configure  .PHONY: all clean
4    
5  check_dependencies:  all:
6          @if ! which intltoolize > /dev/null ; then \          make -f Makefile.svn
           echo "Could not find intltoolize, make sure intltool is installed!"; \  
           exit -1; \  
         fi  
         @if ! which aclocal > /dev/null ; then \  
           echo "Could not find aclocal, make sure automake is installed!"; \  
           exit -1; \  
         fi  
         @if ! which autoconf > /dev/null ; then \  
           echo "Could not find autoconf, make sure it is installed!"; \  
           exit -1; \  
         fi  
         @if ! which autoheader > /dev/null ; then \  
           echo "Could not find autoheader, make sure autoconf is installed!"; \  
           exit -1; \  
         fi  
         @if ! which automake > /dev/null ; then \  
           echo "Could not find automake, make sure it is installed!"; \  
           exit -1; \  
         fi  
   
 configure: check_dependencies configure.ac Makefile.am \  
            src/Makefile.am  
         @intltoolize --copy --force --automake  
         @aclocal  
         @libtoolize --force --copy  
         @autoheader  
         @automake --add-missing --copy  
         @autoconf  
7          ######################################################################          ######################################################################
8          # If you are compiling gigedit from CVS, make sure to use the latest #          # WARNING: Makefile.cvs is deprecated ! Please use Makefile.svn      #
9          # version of libgig from CVS as well !                               #          #          instead !                                                 #
10          ######################################################################          ######################################################################
11    
 .PHONY: clean  
   
12  clean:  clean:
13          @if [ -f Makefile ]; then make distclean; fi || true          make -f Makefile.svn clean
14          @rm -rvf *.cache *.log *.status *.m4          ######################################################################
15          @rm -rvf src/Makefile.in src/config.h.in src/config.h src/stamp-h.*          # WARNING: Makefile.cvs is deprecated ! Please use Makefile.svn      #
16          @rm -rvf po/Makefile.in debian/Makefile.in          #          instead !                                                 #
17          @rm -rvf doc/Makefile.in doc/quickstart/Makefile.in doc/quickstart/gigedit_quickstart.html          ######################################################################
         @rm -rvf Makefile.in config.*  
         @rm -rvf missing install-sh mkinstalldirs depcomp ltmain.sh  
         @rm -rvf configure stamp-h.*  
         @find . -type l | xargs rm -f  
         @rm -rvf *~ autom4te.cache \  
                 depcomp INSTALL install-sh Makefile Makefile.in missing mkinstalldirs \  
                 gigedit-*.tar.gz po/*~ src/*~ gigedit.kdevelop.pcs debug src/a.out \  
                 Doxyfile intltool-extract.in intltool-merge.in intltool-update.in  

Legend:
Removed from v.2794  
changed lines
  Added in v.2795

  ViewVC Help
Powered by ViewVC