mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
First usable debian/ folder.
This commit is contained in:
parent
a29a2b33af
commit
6280337df1
2 changed files with 23 additions and 4 deletions
21
debian/rules
vendored
21
debian/rules
vendored
|
|
@ -1,5 +1,24 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
BUILDDIR = build_dir_debian
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
override_dh_auto_configure:
|
||||
cmake . -DCMAKE_BUILD_TYPE=Release -DWITH_QT4=1 -DWITH_CLIENT=1 -DWITH_SERVER=1 -DWITH_ORACLE=1
|
||||
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 -j -C $(BUILDDIR)
|
||||
|
||||
override_dh_usrlocal:
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_clean
|
||||
rm -rf $(BUILDDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue