Commit d6f7b7d8 authored by Ophélie Gagnard's avatar Ophélie Gagnard

Fix some bugs for Debian package building.

parent 72c5e04c
...@@ -5,6 +5,10 @@ ifeq ($(PREFIX),) ...@@ -5,6 +5,10 @@ ifeq ($(PREFIX),)
PREFIX := /usr/local PREFIX := /usr/local
endif endif
all: no-dracut
install: install-no-dracut
clean: clean-no-dracut
bin/metadata-collect-agent: bin/metadata-collect-agent:
#Error expected here (line -g++ ...), writing a C program using the error messages #Error expected here (line -g++ ...), writing a C program using the error messages
install -d bin/ ;\ install -d bin/ ;\
...@@ -50,8 +54,4 @@ clean-no-dracut-local: ...@@ -50,8 +54,4 @@ clean-no-dracut-local:
clean-no-dracut: uninstall-no-dracut 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 .PHONY: no-dracut install-no-dracut uninstall-no-dracut clean-no-dracut all install clean
...@@ -43,7 +43,7 @@ all: main.cpp#$(EXE) ...@@ -43,7 +43,7 @@ all: main.cpp#$(EXE)
make fake_python.o 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 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 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 #-ln -f metadata-collect-agent ../../debian.package.unsafe/unsafe-boot-metadata-collect-agent/sbin/metadata-collect-agent
%.cpp: %.pyx %.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