~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# "$Id: Makefile,v 1.12.2.6.2.17 2004/04/11 04:38:53 easysw Exp $"
 
2
# "$Id: Makefile,v 1.12.2.6.2.19 2004/10/18 20:22:21 easysw Exp $"
3
3
#
4
4
# Top-level makefile for the Fast Light Tool Kit (FLTK).
5
5
#
25
25
 
26
26
include makeinclude
27
27
 
28
 
DIRS    =       src fluid test documentation
 
28
DIRS    =       $(IMAGEDIRS) src fluid test documentation
29
29
 
30
30
all: makeinclude
31
31
        for dir in $(DIRS); do\
34
34
        done
35
35
 
36
36
install: makeinclude
37
 
        -mkdir -p $(bindir)
38
 
        $(RM) $(bindir)/fltk-config
39
 
        -cp fltk-config $(bindir)
40
 
        -chmod 755 $(bindir)/fltk-config
 
37
        -mkdir -p $(DESTDIR)$(bindir)
 
38
        $(RM) $(DESTDIR)$(bindir)/fltk-config
 
39
        -cp fltk-config $(DESTDIR)$(bindir)
 
40
        -chmod 755 $(DESTDIR)$(bindir)/fltk-config
41
41
        for dir in FL $(DIRS); do\
42
42
                echo "=== installing $$dir ===";\
43
43
                (cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\
44
44
        done
45
45
 
46
46
uninstall: makeinclude
47
 
        $(RM) $(bindir)/fltk-config
 
47
        $(RM) $(DESTDIR)$(bindir)/fltk-config
48
48
        for dir in FL $(DIRS); do\
49
49
                echo "=== uninstalling $$dir ===";\
50
50
                (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\
60
60
        -$(RM) core *.o
61
61
        for dir in $(DIRS); do\
62
62
                echo "=== cleaning $$dir ===";\
63
 
                (cd $$dir; $(MAKE) $(MFLAGS) clean) || break;\
 
63
                (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\
64
64
        done
65
65
 
66
66
distclean: clean
86
86
        fi
87
87
        touch config.h
88
88
 
89
 
configure: configure.in
90
 
        autoconf
 
89
# configure: configure.in
 
90
#       autoconf
91
91
 
92
92
portable-dist:
93
93
        epm -v -s fltk.xpm fltk
97
97
 
98
98
 
99
99
#
100
 
# End of "$Id: Makefile,v 1.12.2.6.2.17 2004/04/11 04:38:53 easysw Exp $".
 
100
# End of "$Id: Makefile,v 1.12.2.6.2.19 2004/10/18 20:22:21 easysw Exp $".
101
101
#