Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
crawfxrd committed Jul 20, 2021
1 parent cb1778d commit ad6d2ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ distclean:

install: all
install -D -m 0755 "target/release/$(BIN)" "$(DESTDIR)$(bindir)/$(BIN)"
install -D -m 0644 "data/$(BIN).conf" "$(DESTDIR)$(datadir)/dbus-1/system.d/$(BIN).conf"
install -D -m 0644 "debian/$(BIN).service" "$(DESTDIR)$(libdir)/systemd/system/$(BIN).service"
install -D -m 0644 "data/$(BIN).conf" "$(DESTDIR)$(sysconfdir)/dbus-1/system.d/$(BIN).conf"
install -D -m 0644 "debian/$(BIN).service" "$(DESTDIR)$(sysconfdir)/systemd/system/$(BIN).service"
install -D -m 0644 "data/$(POLICY).policy" $(DESTDIR)$(datadir)/polkit-1/actions/$(POLICY).policy

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(BIN)"
rm -f "$(DESTDIR)$(datadir)/dbus-1/system.d/$(BIN).conf"
rm -f "$(DESTDIR)$(libdir)/systemd/system/$(BIN).service"
rm -f "$(DESTDIR)$(sysconfdir)/dbus-1/system.d/$(BIN).conf"
rm -f "$(DESTDIR)$(sysconfdir)/systemd/system/$(BIN).service"

update:
cargo update
Expand All @@ -59,3 +59,4 @@ ifeq ($(VENDORED),1)
tar pxf vendor.tar.xz
endif
cargo build $(ARGS)

3 changes: 0 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ ifeq ($(VENDORED),1)
make vendor; \
fi
endif

# Handled by make target
override_dh_installsystemd:
3 changes: 0 additions & 3 deletions debian/system76-power.maintscript

This file was deleted.

0 comments on commit ad6d2ef

Please sign in to comment.