mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
24 lines
552 B
Makefile
Executable file
24 lines
552 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
BUILDDIR = build_dir_debian
|
|
|
|
%:
|
|
dh $@ --parallel
|
|
|
|
override_dh_auto_configure:
|
|
mkdir $(BUILDDIR)
|
|
cd $(BUILDDIR) && cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_QT4=1 -DWITH_CLIENT=1 -DWITH_SERVER=1 -DWITH_ORACLE=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr
|
|
|
|
override_dh_auto_install:
|
|
# fuck debian packaging. seriously. this shit is from the 90s
|
|
ln -s ../debian $(BUILDDIR)/debian
|
|
cd $(BUILDDIR) && dh_auto_install
|
|
|
|
override_dh_auto_build:
|
|
make -C $(BUILDDIR)
|
|
|
|
override_dh_usrlocal:
|
|
|
|
override_dh_auto_clean:
|
|
dh_clean
|
|
rm -rf $(BUILDDIR)
|