@@ -349,16 +349,15 @@ user-install:
349349 cp -f io_frida.$(SO_EXT ) * $(DESTDIR ) /" $( R2_PLUGDIR) "
350350 $(RM ) " $( DESTDIR) /$( R2PM_BINDIR) /r2frida-compile"
351351 cp -f src/r2frida-compile $(DESTDIR ) /" $( R2PM_BINDIR) "
352- mkdir -p " $( DESTDIR) /$( PREFIX ) /share/man /man1/"
353- cp -f r2frida.1 " $( DESTDIR) /$( PREFIX ) /share/man /man1/r2frida.1"
354- cp -f r2frida-compile.1 " $( DESTDIR) /$( PREFIX ) /share/man /man1/r2frida-compile.1"
352+ mkdir -p " $( DESTDIR) /$( R2PM_MANDIR ) /man1/"
353+ cp -f r2frida.1 " $( DESTDIR) /$( R2PM_MANDIR ) /man1/r2frida.1"
354+ cp -f r2frida-compile.1 " $( DESTDIR) /$( R2PM_MANDIR ) /man1/r2frida-compile.1"
355355
356356user-uninstall :
357357 $(RM ) " $( DESTDIR) /$( R2_PLUGDIR) /io_frida.$( SO_EXT) "
358358 $(RM ) " $( DESTDIR) /$( R2PM_BINDIR) /r2frida-compile"
359- $(RM ) " $( DESTDIR) /$( R2_BINDIR) /r2frida-compile"
360- $(RM ) " $( DESTDIR) /$( PREFIX) /share/man/man1/r2frida.1"
361- $(RM ) " $( DESTDIR) /$( PREFIX) /share/man/man1/r2frida-compile.1"
359+ $(RM ) " $( DESTDIR) /$( R2PM_MANDIR) /man1/r2frida.1"
360+ $(RM ) " $( DESTDIR) /$( R2PM_MANDIR) /man1/r2frida-compile.1"
362361
363362install :
364363 mkdir -p " $( DESTDIR) /$( R2_PLUGSYS) "
@@ -367,6 +366,7 @@ install:
367366 cp -f src/r2frida-compile $(DESTDIR ) /" $( R2_BINDIR) "
368367 mkdir -p " $( DESTDIR) /$( PREFIX) /share/man/man1"
369368 cp -f r2frida.1 $(DESTDIR ) /$(PREFIX ) /share/man/man1/r2frida.1
369+ cp -f r2frida-compile.1 " $( DESTDIR) /$( PREFIX) /share/man/man1/r2frida-compile.1"
370370
371371symstall :
372372 mkdir -p " $( DESTDIR) /$( R2_PLUGSYS) "
@@ -378,6 +378,7 @@ uninstall:
378378 $(RM ) " $( DESTDIR) /$( R2_PLUGSYS) /io_frida.$( SO_EXT) "
379379 $(RM ) " $( DESTDIR) /$( R2_BINDIR) /r2frida-compile"
380380 $(RM ) " $( DESTDIR) /$( PREFIX) /share/man/man1/r2frida.1"
381+ $(RM ) " $( DESTDIR) /$( PREFIX) /share/man/man1/r2frida-compile.1"
381382
382383release :
383384 $(MAKE ) android STRIP_SYMBOLS=yes
0 commit comments