blob: 2ba1495f5abb96589379e543eba25cf0c8397935 (
plain)
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
|
default:
@echo "targets: appimage (Linux only), clean, debug, package, release"
UNAME_S := $(shell uname -s)
appimage:
cmake -H. -Bbuild/appimage -DCMAKE_INSTALL_PREFIX=/usr
cd build/appimage && make
cd build/appimage && sed -i -e 's#/usr#././#g' pg_top
cd build/appimage && make install DESTDIR=AppDir
cd build/appimage && make appimage
clean:
-rm -rf build
debug:
cmake -H. -Bbuild/debug -DCMAKE_BUILD_TYPE=Debug
cd build/debug && make
package:
git checkout-index --prefix=build/source/ -a
cmake -Hbuild/source -Bbuild/source
cd build/source && make package_source
release:
cmake -H. -Bbuild/release
cd build/release && make
|