Commit 1d4748c3 authored by Ophélie Gagnard's avatar Ophélie Gagnard

Fix some bugs for Debian package building.

parent 16b84b65
......@@ -5,6 +5,10 @@ ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
all: no-dracut
install: install-no-dracut
clean: clean-no-dracut
bin/metadata-collect-agent:
#Error expected here (line -g++ ...), writing a C program using the error messages
install -d bin/ ;\
......@@ -50,8 +54,4 @@ clean-no-dracut-local:
clean-no-dracut: uninstall-no-dracut clean-no-dracut-local
install: install-no-dracut
all: no-dracut
clean: clean-no-dracut
.PHONY: no-dracut install-no-dracut uninstall-no-dracut clean-no-dracut all install clean
......@@ -43,7 +43,7 @@ all: main.cpp#$(EXE)
make fake_python.o
g++ -O2 -g -Wno-unused-result -Wsign-compare -pthread $(INCLUDE_PYTHON) main.cpp fake_python.o -lcrypto -lfmt -o metadata-collect-agent
#-ln -f ../../metadata-collect-agent metadata-collect-agent
-ln -f metadata-collect-agent ../../dracut.module/90metadata-collect/metadata-collect-agent
#-ln -f metadata-collect-agent ../../dracut.module/90metadata-collect/metadata-collect-agent
#-ln -f metadata-collect-agent ../../debian.package.unsafe/unsafe-boot-metadata-collect-agent/sbin/metadata-collect-agent
%.cpp: %.pyx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment