~ubuntu-branches/ubuntu/wily/gnustep-base/wily

« back to all changes in this revision

Viewing changes to Source/Makefile.postamble

  • Committer: Package Import Robot
  • Author(s): Yavor Doganov
  • Date: 2011-09-15 12:31:15 UTC
  • mfrom: (1.2.11 upstream) (8.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20110915123115-rmvsia9z0211izvq
Tags: 1.22.1-1
* New upstream release:
  + Fixes implicit declaration of function (Closes: #629216).
* debian/rules (v_make): Set to 2.6.1.
  (install-common): Do not delete non-existent .swp file.
* debian/control.m4 (Build-Depends): Remove gobjc; gnustep-make now
  depends on it.
  (libgnustep-base-dev) <Depends>: Likewise.
  (Suggests): Remove; completely pointless.
* debian/control: Regenerate.
* debian/patches/avoid-nsl-linkage.patch: Refresh.
* debian/patches/autoreconf.patch: Regenerate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
after-all:: Info-gnustep.plist
43
43
 
44
44
# Things to do before installing
45
 
before-install::
46
 
        cp ../Headers/Foundation/Foundation.h \
47
 
        ../Headers/Foundation/Foundation.h.saved
48
 
        cp ../Headers/Foundation/Foundation.h.install \
49
 
        ../Headers/Foundation/Foundation.h
 
45
#before-install::
50
46
 
51
47
# Things to do after installing
52
48
#
54
50
# to the source we must install the GNU header manually
55
51
# Ayers 2003-07-31: This statement should be reevaluated!
56
52
after-install::
57
 
        for file in $(GNU_HEADERS); do \
58
 
          $(INSTALL_DATA) ../Headers/Additions/GNUstepBase/$$file \
 
53
        $(MKDIRS) $(GNUSTEP_HEADERS)/ObjectiveC2
 
54
        for file in $(OBJECTIVEC2_HEADERS); do \
 
55
          $(INSTALL_DATA) ../Headers/ObjectiveC2/$$file \
 
56
            $(GNUSTEP_HEADERS)/ObjectiveC2/$$file ; \
 
57
        done
 
58
        $(MKDIRS) $(GNUSTEP_HEADERS)/GNUstepBase
 
59
        for file in $(GNUSTEPBASE_HEADERS); do \
 
60
          $(INSTALL_DATA) ../Headers/GNUstepBase/$$file \
59
61
            $(GNUSTEP_HEADERS)/GNUstepBase/$$file ; \
60
62
        done
61
 
        cp ../Headers/Foundation/Foundation.h.saved \
62
 
        ../Headers/Foundation/Foundation.h
63
63
        $(MKDIRS) $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase
64
64
        $(INSTALL_DATA) $(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h \
65
65
          $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h
84
84
 
85
85
# Things to do after uninstalling
86
86
before-uninstall::
87
 
        for file in $(GNU_HEADERS); do \
 
87
        for file in $(OBJECTIVEC2_HEADERS); do \
 
88
          rm -f $(GNUSTEP_HEADERS)/ObjectiveC2/$$file ; \
 
89
        done
 
90
        for file in $(GNUSTEPBASE_HEADERS); do \
88
91
          rm -f $(GNUSTEP_HEADERS)/GNUstepBase/$$file ; \
89
92
        done
90
93
        rm -f $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h
95
98
# Things to do after cleaning
96
99
after-clean::
97
100
        rm -f libgnustep-base.def
98
 
        rm -f ../Headers/Foundation/Foundation.h.saved
99
101
 
100
102
# Things to do before distcleaning
101
103
# before-distclean::
137
139
        -mv mframe/mframe.h $(GNUSTEP_TARGET_DIR)
138
140
        -touch $(GNUSTEP_TARGET_DIR)/mframe.h
139
141
 
 
142
ifneq ($(GNUSTEP_TARGET_DIR),.)
140
143
$(GNUSTEP_TARGET_DIR)/common.h: common.h
141
144
        $(MKDIRS) $(GNUSTEP_TARGET_DIR)
142
145
        cp common.h $(GNUSTEP_TARGET_DIR)/common.h
143
146
        -touch $(GNUSTEP_TARGET_DIR)/common.h
 
147
endif
144
148
 
145
149
#
146
150
#       Files where optimisation breaks the code!