- mkdir -p $(includedir)/rote
- rm -f $(includedir)/rote/*.h
- cp rote.h $(includedir)/rote
- mkdir -p $(libdir)
- cp librote.so.$(ROTE_VERSION) $(libdir)
- cd $(libdir) && ln -sf librote.so.$(ROTE_VERSION) librote.so
- cd $(libdir) && ln -sf librote.so.$(ROTE_VERSION) $(ROTE_SONAME)
+ mkdir -p $(DESTDIR)$(includedir)/rote
+ rm -f $(DESTDIR)$(includedir)/rote/*.h
+ cp rote.h $(DESTDIR)$(includedir)/rote
+ mkdir -p $(DESTDIR)$(libdir)
+ cp librote.so.$(ROTE_VERSION) $(DESTDIR)$(libdir)
+ cd $(DESTDIR)$(libdir) && ln -sf librote.so.$(ROTE_VERSION) librote.so
+ cd $(DESTDIR)$(libdir) && ln -sf librote.so.$(ROTE_VERSION) $(ROTE_SONAME)