chore: enhance packaging

This commit is contained in:
Stéphane Lesimple
2020-11-21 13:34:01 +01:00
parent 3844c156e5
commit 0521f5271e
6 changed files with 90 additions and 163 deletions

View File

@@ -63,6 +63,12 @@ LIBS = $(INTL_LIBS) $(CAM_LIBS) $(GTK_LIBS) $(EFENCE_LIBS) $(MUDFLAP_LIBS) -lm
CFILES = $(CFG_CFILES)
OFILES = $(CFG_OFILES)
# special case for DESTDIR, if BUILDROOT is undef and DESTDIR is,
# set BUILDROOT to DESTDIR
ifeq "" "$(BUILDROOT)"
BUILDROOT = $(DESTDIR)
endif
######################################################################
# Compilation related
######################################################################