/[baselayout]/trunk/Makefile
Gentoo

Diff of /trunk/Makefile

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

Revision 2598 Revision 2599
57 if test $(LIB) != "lib" ; then \ 57 if test $(LIB) != "lib" ; then \
58 sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh || exit $$? ; \ 58 sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh || exit $$? ; \
59 rm -f $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh.bak ; \ 59 rm -f $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh.bak ; \
60 fi 60 fi
61 61
62.PHONY: all clean install
63
64layout: 62layout:
65 # Create base filesytem layout 63 # Create base filesytem layout
66 for x in $(KEEP_DIRS) ; do \ 64 for x in $(KEEP_DIRS) ; do \
67 $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \ 65 $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
68 touch $(DESTDIR)$$x/.keep || exit $$? ; \ 66 touch $(DESTDIR)$$x/.keep || exit $$? ; \
88 exit 1 ; \ 86 exit 1 ; \
89 fi \ 87 fi \
90 fi 88 fi
91 89
92distforce: 90distforce:
93 install -d /tmp/$(PKG) 91 svn export . /tmp/$(PKG)
94 cp -PRp . /tmp/$(PKG)
95 `which find` /tmp/$(PKG) -depth -path "*/.svn/*" -delete
96 `which find` /tmp/$(PKG) -depth -path "*/.svn" -delete
97 rm -rf /tmp/$(PKG)/src/core /tmp/$(PKG)/po
98 $(MAKE) -C /tmp/$(PKG) clean
99 sed -i'.bak' -e '/-Wl,-rpath ./ s/^/#/g' /tmp/$(PKG)/src/Makefile
100 rm -f /tmp/$(PKG)/src/Makefile.bak
101 tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG) 92 tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
102 rm -Rf /tmp/$(PKG)
103 du /tmp/$(PKG).tar.bz2 93 du /tmp/$(PKG).tar.bz2
104 94
105dist: distcheck distforce 95dist: distcheck distforce
106 96
97.PHONY: layout dist distcheck distforce
98
107# vim: set ts=4 : 99# vim: set ts=4 :

Legend:
Removed from v.2598  
changed lines
  Added in v.2599

  ViewVC Help
Powered by ViewVC 1.1.20