File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,8 +272,8 @@ install: cppcheck
272272 install cppcheck ${BIN}
273273 install htmlreport/cppcheck-htmlreport ${BIN}
274274ifdef CFGDIR
275- install -d ${CFGDIR}
276- install -m 644 cfg/* ${CFGDIR}
275+ install -d ${DESTDIR}${ CFGDIR}
276+ install -m 644 cfg/* ${DESTDIR}${ CFGDIR}
277277endif
278278
279279
Original file line number Diff line number Diff line change @@ -415,8 +415,8 @@ int main(int argc, char **argv)
415415 fout << " \t install cppcheck ${BIN}\n " ;
416416 fout << " \t install htmlreport/cppcheck-htmlreport ${BIN}\n " ;
417417 fout << " ifdef CFGDIR \n " ;
418- fout << " \t install -d ${CFGDIR}\n " ;
419- fout << " \t install -m 644 cfg/* ${CFGDIR}\n " ;
418+ fout << " \t install -d ${DESTDIR}${ CFGDIR}\n " ;
419+ fout << " \t install -m 644 cfg/* ${DESTDIR}${ CFGDIR}\n " ;
420420 fout << " endif\n\n " ;
421421
422422 fout << " \n ###### Build\n\n " ;
You can’t perform that action at this time.
0 commit comments