diff --git a/src/makefile.c b/src/makefile.c index 1e84f6d..6c7fb56 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -229,7 +229,11 @@ static int _variables_executables(Configure * configure, FILE * fp) fprintf(fp, "%s", "RM\t= rm -f\n"); } if(config_get(configure->config, "", "package")) + { + if(targets == NULL) + fprintf(fp, "%s", "RM\t= rm -f\n"); fprintf(fp, "%s", "LN\t= ln -sf\nTAR\t= tar -czvf\n"); + } if(targets != NULL) { fprintf(fp, "%s", "MKDIR\t= mkdir -p\n");