Skip to content
Snippets Groups Projects
Unverified Commit 7be07615 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

packaging: Normalize debian/rules indentation.

This change normalizes the hanging indent to 2 spaces.

Change-Id: I98bd6919eae547b946af2c59a14cbee96ee50a9d
parent 420b205d
Branches
No related tags found
No related merge requests found
...@@ -74,8 +74,8 @@ override_dh_auto_configure: ...@@ -74,8 +74,8 @@ override_dh_auto_configure:
cd daemon && \ cd daemon && \
./autogen.sh && \ ./autogen.sh && \
./configure \ ./configure \
--prefix=/usr \
--disable-shared \ --disable-shared \
--prefix=/usr \
--host=${HOST_ARCH} --host=${HOST_ARCH}
############################# #############################
...@@ -86,10 +86,10 @@ override_dh_auto_configure: ...@@ -86,10 +86,10 @@ override_dh_auto_configure:
cd build && \ cd build && \
cmake \ cmake \
-DRING_BUILD_DIR=$(CURDIR)/daemon/src \ -DRING_BUILD_DIR=$(CURDIR)/daemon/src \
-DENABLE_LIBWRAP=false \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
$(CMAKE_OPTIONS) \ $(CMAKE_OPTIONS) ..
..
############################ ############################
## gnome client configure ## ## gnome client configure ##
...@@ -138,15 +138,15 @@ override_dh_auto_build: ...@@ -138,15 +138,15 @@ override_dh_auto_build:
cmake \ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DLRC=$(CURDIR)/lrc \ -DLRC=$(CURDIR)/lrc \
$(CMAKE_OPTIONS) \ $(CMAKE_OPTIONS) ..
..
make -C client-qt/build -j$(NO_CPUS) V=1 make -C client-qt/build -j$(NO_CPUS) V=1
override_dh_auto_clean: override_dh_auto_clean:
####################### #######################
## Daemon clean ## ## Daemon clean ##
####################### #######################
if [ -f daemon/contrib/native/Makefile ]; then make -C daemon/contrib/native distclean; fi [ -f daemon/contrib/native/Makefile ] && \
make -C daemon/contrib/native distclean || true
rm -rfv daemon/contrib/native rm -rfv daemon/contrib/native
rm -rfv daemon/dring.1 rm -rfv daemon/dring.1
...@@ -154,28 +154,28 @@ override_dh_auto_clean: ...@@ -154,28 +154,28 @@ override_dh_auto_clean:
## libringclient clean ## ## libringclient clean ##
######################### #########################
# CMake build system has no distclean target, so use clean. # CMake build system has no distclean target, so use clean.
if [ -f lrc/build/Makefile ]; then make -C lrc/build clean; fi [ -f lrc/build/Makefile ] && make -C lrc/build clean || true
rm -rfv lrc/build rm -rfv lrc/build
######################## ########################
## gnome client clean ## ## gnome client clean ##
######################## ########################
# CMake build system has no distclean target, so use clean. # CMake build system has no distclean target, so use clean.
if [ -f client-gnome/build/Makefile ]; then make -C client-gnome/build clean; fi [ -f client-gnome/build/Makefile ] && \
make -C client-gnome/build clean || true
rm -rfv client-gnome/build rm -rfv client-gnome/build
##################### #####################
## qt client clean ## ## qt client clean ##
##################### #####################
# CMake build system has no distclean target, so use clean. # CMake build system has no distclean target, so use clean.
if [ -f client-qt/build/Makefile ]; then make -C client-qt/build clean; fi [ -f client-qt/build/Makefile ] && make -C client-qt/build clean || true
rm -rfv client-qt/build rm -rfv client-qt/build
override_dh_auto_install: override_dh_auto_install:
######################### #########################
## Daemon install ## ## Daemon install ##
######################### #########################
cd daemon && make DESTDIR=$(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME) install cd daemon && make DESTDIR=$(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME) install
rm -rfv $(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME)/usr/include rm -rfv $(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME)/usr/include
rm -rfv $(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME)/usr/lib/*.a rm -rfv $(CURDIR)/debian/$(JAMI_DAEMON_PKG_NAME)/usr/lib/*.a
...@@ -184,7 +184,6 @@ override_dh_auto_install: ...@@ -184,7 +184,6 @@ override_dh_auto_install:
######################### #########################
## Jami client install ## ## Jami client install ##
######################### #########################
## LibRingClient ## LibRingClient
cd lrc/build && make DESTDIR=$(CURDIR)/debian/$(JAMI_LIB_CLIENT_PKG_NAME) install cd lrc/build && make DESTDIR=$(CURDIR)/debian/$(JAMI_LIB_CLIENT_PKG_NAME) install
rm -rfv $(CURDIR)/debian/$(JAMI_LIB_CLIENT_PKG_NAME)/usr/include rm -rfv $(CURDIR)/debian/$(JAMI_LIB_CLIENT_PKG_NAME)/usr/include
...@@ -215,7 +214,6 @@ override_dh_auto_install: ...@@ -215,7 +214,6 @@ override_dh_auto_install:
###################### ######################
## Jami AiO install ## ## Jami AiO install ##
###################### ######################
## daemon ## daemon
cd daemon && make DESTDIR=$(CURDIR)/debian/$(JAMI_ALL_IN_ONE_PKG_NAME) install cd daemon && make DESTDIR=$(CURDIR)/debian/$(JAMI_ALL_IN_ONE_PKG_NAME) install
rm -rfv $(CURDIR)/debian/$(JAMI_ALL_IN_ONE_PKG_NAME)/usr/include rm -rfv $(CURDIR)/debian/$(JAMI_ALL_IN_ONE_PKG_NAME)/usr/include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment