Skip to content

Commit

Permalink
Revert "Experiment #1"
Browse files Browse the repository at this point in the history
This reverts commit c5724db.
  • Loading branch information
bdbcat committed Dec 2, 2022
1 parent c5724db commit cb8c388
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([0-9]:)*([^-]+).*,\2,p')

echo $(DEB_UPSTREAM_VERSION)

%:
dh $@
Expand Down Expand Up @@ -32,17 +30,9 @@ else ifeq ($(DEB_BUILD_ARCH_CPU), arm64)
-DCMAKE_BUILD_TYPE=Release \
-DOCPN_BUILD_TEST=OFF
else
ifeq ($(DEB_UPSTREAM_VERSION), 12)
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DOCPN_BUILD_TEST=OFF \
-DOCPN_TARGET_TUPLE="ubuntu-x86_64-wx32;22.04;x86_64"
else
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DOCPN_BUILD_TEST=OFF


endif

0 comments on commit cb8c388

Please sign in to comment.