cleanup: move bin/test to toplevel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-06-20 12:47:03 +02:00 committed by Wolfgang Bumiller
parent bf25a4c19c
commit 8f01459822
16 changed files with 5 additions and 11 deletions

View File

@ -4,7 +4,7 @@ export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp)
DESTDIR=
SUBDIRS = aplinfo PVE bin www services configs network-hooks
SUBDIRS = aplinfo PVE bin www services configs network-hooks test
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell git rev-parse HEAD)
@ -14,7 +14,7 @@ DEB=${PACKAGE}_${VERSION}-${PACKAGERELEASE}_${ARCH}.deb
all: ${SUBDIRS}
check:
${MAKE} -C bin/test check
${MAKE} -C test check
.PHONY: dinstall
dinstall: ${DEB}

View File

@ -4,10 +4,6 @@ include ../defines.mk
export NOVIEW=1
include /usr/share/pve-doc-generator/pve-doc-generator.mk
export PERLLIB=..
SUBDIRS = test
SERVICES = pvestatd pveproxy pvedaemon spiceproxy
CLITOOLS = vzdump pvesubscription pveceph pveam pvesr pvenode
@ -75,10 +71,8 @@ install: ${SCRIPTS} ${CLI_MANS} ${SERVICE_MANS} pvemailforward $(addsuffix .serv
install -m 0644 ${SERVICE_MANS} ${MAN8DIR}
for i in ${CLITOOLS}; do install -m 0644 -D $$i.bash-completion ${BASHCOMPLDIR}/$$i; done
for i in ${SERVICES}; do install -m 0644 -D $$i.service-bash-completion ${BASHCOMPLDIR}/$$i; done
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
.PHONY: clean
clean:
make cleanup-docgen
rm -rf *~ *.tmp ${CLI_MANS} ${SERVICE_MANS} *.1.pod *.8.pod pvemailforward *.bash-completion *.service-bash-completion
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done

View File

@ -1,7 +1,9 @@
include ../../defines.mk
include ../defines.mk
all:
export PERLLIB=..
check:
./balloontest.pl
./replication_test1.pl
@ -11,10 +13,8 @@ check:
./replication_test5.pl
./replication_test6.pl
.PHONY: install
install:
# do nothing
.PHONY: clean
clean: