Skip to content

Commit

Permalink
Preserve timestamps when installing files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenselme committed Jul 5, 2017
1 parent 94496de commit 1743bff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ build: $(APPNAME)


install: build
$(INSTALL) -d -m0755 $(DESTDIR)$(bindir)
$(INSTALL) -m0755 $(APPNAME) $(DESTDIR)$(bindir)
$(INSTALL) -d -m0755 $(DESTDIR)$(APPDATADIR)
$(INSTALL) -m0644 data/$(APPNAME).appdata.xml $(DESTDIR)$(APPDATADIR)
$(INSTALL) -d -m0755 $(DESTDIR)$(DESKTOPDIR)
$(INSTALL) -m0644 data/$(APPNAME).desktop $(DESTDIR)$(DESKTOPDIR)
$(INSTALL) -d -m0755 $(DESTDIR)$(ICONDIR)/96x96/apps
$(INSTALL) -m0644 data/$(APPNAME).png $(DESTDIR)$(ICONDIR)/96x96/apps
$(INSTALL) -d -m0755 $(DESTDIR)$(ICONDIR)/scalable/apps
$(INSTALL) -m0644 data/$(APPNAME).svg $(DESTDIR)$(ICONDIR)/scalable/apps
$(INSTALL) -d -m0755 $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -m0644 data/$(APPNAME).png $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -d -pm0755 $(DESTDIR)$(bindir)
$(INSTALL) -pm0755 $(APPNAME) $(DESTDIR)$(bindir)
$(INSTALL) -d -pm0755 $(DESTDIR)$(APPDATADIR)
$(INSTALL) -pm0644 data/$(APPNAME).appdata.xml $(DESTDIR)$(APPDATADIR)
$(INSTALL) -d -pm0755 $(DESTDIR)$(DESKTOPDIR)
$(INSTALL) -pm0644 data/$(APPNAME).desktop $(DESTDIR)$(DESKTOPDIR)
$(INSTALL) -d -pm0755 $(DESTDIR)$(ICONDIR)/96x96/apps
$(INSTALL) -pm0644 data/$(APPNAME).png $(DESTDIR)$(ICONDIR)/96x96/apps
$(INSTALL) -d -pm0755 $(DESTDIR)$(ICONDIR)/scalable/apps
$(INSTALL) -pm0644 data/$(APPNAME).svg $(DESTDIR)$(ICONDIR)/scalable/apps
$(INSTALL) -d -pm0755 $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -pm0644 data/$(APPNAME).png $(DESTDIR)$(PIXMAPDIR)


clean:
Expand Down

0 comments on commit 1743bff

Please sign in to comment.