Skip to content
Snippets Groups Projects
Commit 8969f1f3 authored by rishwanth's avatar rishwanth
Browse files

modified debian rules to run offline by default

parent 0ea0e739
No related branches found
No related tags found
No related merge requests found
......@@ -6,16 +6,16 @@ jardir = $(prefix)/share/java
jar_DATA = $(tsk_jar)
if OFFLINE
ant_command=ant dist -Doffline=true
ant_args=-Doffline=true
else
ant_command=ant dist
endif
$(tsk_jar):
all-local:
$(ant_command)
ant dist $(ant_args)
CLEANFILES = $(tsk_jar)
......
......@@ -24,6 +24,8 @@ export DEB_LDFLAGS_MAINT_APPEND = -lsqlite3 -lsupc++ -Wl,--as-needed
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
override_dh_auto_configure:
dh_auto_configure -- --enable-offline=yes
override_dh_auto_install:
cd tsk/
sudo make install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment