xpra icon
Bug tracker and wiki

Ticket #533: nasm-makefile-destdir.patch

File nasm-makefile-destdir.patch, 926 bytes (added by Smo, 6 years ago)
  • Makefile.in

    old new  
    201201manpages: nasm.1 ndisasm.1
    202202
    203203install: nasm$(X) ndisasm$(X)
    204         $(MKDIR) -p $(INSTALLROOT)$(bindir)
    205         $(INSTALL_PROGRAM) nasm$(X) $(INSTALLROOT)$(bindir)/nasm$(X)
    206         $(INSTALL_PROGRAM) ndisasm$(X) $(INSTALLROOT)$(bindir)/ndisasm$(X)
    207         $(MKDIR) -p $(INSTALLROOT)$(mandir)/man1
    208         $(INSTALL_DATA) $(srcdir)/nasm.1 $(INSTALLROOT)$(mandir)/man1/nasm.1
    209         $(INSTALL_DATA) $(srcdir)/ndisasm.1 $(INSTALLROOT)$(mandir)/man1/ndisasm.1
     204        $(MKDIR) -p $(DESTDIR)$(bindir)
     205        $(INSTALL_PROGRAM) nasm$(X) $(DESTDIR)$(bindir)/nasm$(X)
     206        $(INSTALL_PROGRAM) ndisasm$(X) $(DESTDIR)$(bindir)/ndisasm$(X)
     207        $(MKDIR) -p $(DESTDIR)$(mandir)/man1
     208        $(INSTALL_DATA) $(srcdir)/nasm.1 $(DESTDIR)$(mandir)/man1/nasm.1
     209        $(INSTALL_DATA) $(srcdir)/ndisasm.1 $(DESTDIR)$(mandir)/man1/ndisasm.1
    210210
    211211clean:
    212212        $(RM) -f *.$(O) *.s *.i