My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
build: ide ide-nogtk umk

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
JOBS:=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
else
JOBS:=1
endif

SERIES:="`dpkg-parsechangelog -c1 | sed -n 's/^Distribution: //p;'`"
ARCH:="`dpkg-architecture -qDEB_HOST_ARCH`"
OPTS:=CC="cc -g" CXX="c++ -g" CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-Wl,--gc-sections -Wl,-O,2" TIME= COLOR=0 USEMAINCFG=0

ide:
sed -i -e 's/IDE_VERSION[ \t]*"\([0-9]*\)[^"]*"/IDE_VERSION "\1-'$(SERIES)-$(ARCH)'"/' $(CURDIR)/uppsrc/ide/version.h
$(MAKE) -f mkfile JOBS=$(JOBS) PKG=ide "NESTS=uppsrc" $(OPTS) "FLAGS=GUI GCC DEBUG DEBUG_FULL" TARGET=`pwd`/$@

ide-nogtk:
sed -i -e 's/IDE_VERSION[ \t]*"\([0-9]*\)[^"]*"/IDE_VERSION "\1-'$(SERIES)-$(ARCH)'-nogtk"/' $(CURDIR)/uppsrc/ide/version.h
$(MAKE) -f mkfile JOBS=$(JOBS) PKG=ide "NESTS=uppsrc" $(OPTS) "FLAGS=GUI NOGTK GCC" TARGET=`pwd`/$@

umk:
$(MAKE) -f mkfile JOBS=$(JOBS) PKG=umk "NESTS=uppsrc" $(OPTS) "FLAGS=GCC" TARGET=`pwd`/$@

install:
# this is just a trick to rename files
install -D ide $(DESTDIR)/theide
install -D ide-nogtk $(DESTDIR)/nogtk/theide
install -D -m 644 uppsrc/ide/theide-48.png $(DESTDIR)/theide.png

clean:
rm -f ide ide-nogtk umk

Change log

r4945 by dolik on May 13, 2012   Diff
.lpbuild2: switched from testing to live
Go to: 
Project members, sign in to write a code review

Older revisions

r4741 by dolik on Apr 3, 2012   Diff
.lpbuild2: debug packages, various
fixes and improvements
r4712 by dolik on Mar 22, 2012   Diff
.lpbuild2: fix parallel builds
r4613 by dolik on Feb 24, 2012   Diff
.lpbuild2: makefile fixes
All revisions of this file

File info

Size: 1218 bytes, 31 lines

File properties

svn:eol-style
native
Powered by Google Project Hosting