-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (23 loc) · 798 Bytes
/
Makefile
File metadata and controls
27 lines (23 loc) · 798 Bytes
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
BUILD=build
UPDATE=update.tmp
SOURCEBALL=guacamole-built.tgz
TARGET=freerdp-ubuntu-pcb-backport
all:
@echo "This target cannot be built this way. Use:"
@echo " 'make update' to update the ${TARGET} directory"
@echo " 'cd ${TARGET}', then normal make commands to make ${TARGET}"
update:
/bin/rm -rf ${UPDATE} && \
/bin/mkdir -p ${UPDATE} && \
( cd ${UPDATE} && \
git clone git://git.alex.org.uk/${TARGET}.git && \
/bin/rm -rf ${TARGET}/.git ) && \
( if [ -d ${TARGET} ] ; then svn rm --force ${TARGET} ; fi ) && \
rm -rf ${TARGET} && \
echo "Moving new target into place"
mv ${UPDATE}/${TARGET} ${TARGET}
svn add ${TARGET}
(cd ${TARGET} && perl -p -i -e 's/-1ubuntu2flexiant/.2-1flexiant/g;' debian/changelog)
/bin/rm -rf ${UPDATE}
clean:
/bin/rm -rf ${BUILD} ${UPDATE}