mirror of
https://github.com/miracle-wm-org/miracle-wm.git
synced 2024-11-30 02:09:10 +03:00
87b442f617
- A working `debian` folder that I can use to upload to a ppa on launchpad - Instructions on how to upload new builds. These instructions are very manual at the moment, but there exists another task to make this manual. I would prefer to do it manually for v0.2 at least.
29 lines
550 B
Makefile
Executable File
29 lines
550 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
BUILDDIR = build_dir
|
|
|
|
# secondly called by launchpad
|
|
build:
|
|
mkdir $(BUILDDIR);
|
|
cd $(BUILDDIR); cmake -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr ..
|
|
make -C $(BUILDDIR)
|
|
|
|
# thirdly called by launchpad
|
|
binary: binary-indep binary-arch
|
|
|
|
binary-indep:
|
|
# nothing to be done
|
|
|
|
binary-arch:
|
|
cd $(BUILDDIR); cmake -P cmake_install.cmake
|
|
mkdir debian/tmp/DEBIAN
|
|
dpkg-gencontrol -pmiracle-wm
|
|
dpkg --build debian/tmp ..
|
|
|
|
# firstly called by launchpad
|
|
clean:
|
|
rm -f build
|
|
rm -rf $(BUILDDIR)
|
|
|
|
.PHONY: binary binary-arch binary-indep clean
|