Je galère et je ne trouve toujours pas mon erreur. .PHONY: install
J'ai un Makefile : #############################################################################
# Makefile for building: libNMEAParser.so
# Generated by Spomky with Kate on: Sun, 24 Feb 2008 02:45:07 +0100
# Project: NMEAParser
# Template: lib
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
CFLAGS = -pipe -O2 -Wall -W -pedantic -fPIC
CXXFLAGS = -pipe -O2 -Wall -W -pedantic -fPIC
INCPATH = -I. -I/usr/include/
LINK = g++
LFLAGS = -shared
LIBS = -L/usr/lib
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Files
SOURCES = NMEAParser.cpp \
NMEAParser_AAM.cpp \
NMEAParser_GSV.cpp \
NMEAParser_GGA.cpp \
NMEAParser_GSA.cpp \
NMEAParser_RMC.cpp \
NMEAParser_GLL.cpp \
NMEAParser_ZZU.cpp
HEADER = NMEAParser.h \
NMEAParser_AAM.h \
NMEAParser_GSV.h \
NMEAParser_GGA.h \
NMEAParser_GSA.h \
NMEAParser_RMC.h \
NMEAParser_GLL.h \
NMEAParser_ZZU.h
OBJECTS = NMEAParser.o \
NMEAParser_AAM.o \
NMEAParser_GSV.o \
NMEAParser_GGA.o \
NMEAParser_GSA.o \
NMEAParser_RMC.o \
NMEAParser_GLL.o \
NMEAParser_ZZU.o
DESTDIR = /
TARGET = libNMEAParser.so
first: all
####### Implicit rules
.SUFFIXES: .o .cpp
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
####### Build rules
all: $(TARGET)
$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
@$(CHK_DIR_EXISTS) $(DESTDIR) || $(MKDIR) $(DESTDIR)
-$(DEL_FILE) $(TARGET)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
####### Cleaning
clean:
-$(DEL_FILE) $(OBJECTS)
distclean: clean
-$(DEL_FILE) $(TARGET)
mrproper: distclean
####### Install
install: first
@$(CHK_DIR_EXISTS) $(DESTDIR)/usr/lib/ || $(MKDIR) $(DESTDIR)/usr/lib/
-$(INSTALL_PROGRAM) "$(TARGET)" "$(DESTDIR)/usr/lib/$(TARGET)"
-strip --strip-unneeded "$(DESTDIR)/usr/lib/$(TARGET)"
@$(CHK_DIR_EXISTS) $(DESTDIR)/usr/include/NMEAParser/ || $(MKDIR) $(DESTDIR)/usr/include/NMEAParser/
-$(INSTALL_FILE) $(HEADER) "$(DESTDIR)/usr/include/NMEAParser/"
uninstall:
-$(DEL_FILE) "$(DESTDIR)/usr/lib/$(TARGET)"
-$(DEL_DIR) $(DESTDIR)/usr/lib/
-$(DEL_FILE) $(DESTDIR)/usr/include/NMEAParser/*.h
-$(DEL_DIR) $(DESTDIR)/usr/include/NMEAParser/
fPIC" CXXFLAGS="-pipe -O2 -Wall -W -pedantic -fPIC"J'ai mon fichier rules dans le répertoire debian : #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
# Add here any variable or target overrides you need.
CFLAGS=-pipe -O2 -Wall -W -pedantic -fPIC
CXXFLAGS=-pipe -O2 -Wall -W -pedantic -fPIC
DEB_MAKE_CLEAN_TARGET := mrproper
DEB_MAKE_BUILD_TARGET := all
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/
DEB_MAKE_CHECK_TARGET :=
DEB_MAKE_MAKEFILE := Makefile
DEB_MAKE_ENVVARS := CFLAGS="-pipe -O2 -Wall -W -pedantic -
Quand je fais les habituelles "make", "make install", "make mrproper" ou encore "make uninstall" tout va bien.
Mais quand je crée mon paquet je me retrouve avec un .deb quasiment vide (il y a tout sauf les fichiers qui doivent s'installer).
Je suppose que le problème vient soit du Makefile, soit de rules mais malgré la doc sur le net je ne trouve pas mon erreur.