Skip to content

Commit 48fddc8

Browse files
Simplify using new install.mk
1 parent 5296c7c commit 48fddc8

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ SHARE=$(prefix)/share/house
2727
INSTALL=/usr/bin/install
2828

2929
HAPP=housekasa
30-
HMAN=/var/lib/house/note/content/manuals/automation
31-
HMANCACHE=/var/lib/house/note/cache
30+
HCAT=automation
3231

3332
# Application build. --------------------------------------------
3433

@@ -56,9 +55,6 @@ kasa: kasa.c
5655
install-ui: install-preamble
5756
$(INSTALL) -m 0755 -d $(DESTDIR)$(SHARE)/public/kasa
5857
$(INSTALL) -m 0644 public/* $(DESTDIR)$(SHARE)/public/kasa
59-
$(INSTALL) -m 0755 -d $(DESTDIR)$(HMAN)
60-
$(INSTALL) -m 0644 README.md $(DESTDIR)$(HMAN)/$(HAPP).md
61-
rm -rf $(DESTDIR)$(HMANCACHE)/*
6258

6359
install-runtime: install-preamble
6460
$(INSTALL) -m 0755 -s housekasa kasa $(DESTDIR)$(prefix)/bin
@@ -69,8 +65,6 @@ install-app: install-ui install-runtime
6965
uninstall-app:
7066
rm -f $(DESTDIR)$(prefix)/bin/housekasa $(DESTDIR)$(prefix)/bin/kasa
7167
rm -rf $(DESTDIR)$(SHARE)/public/kasa
72-
rm -f $(DESTDIR)$(HMAN)/$(HAPP).md
73-
rm -rf $(DESTDIR)$(HMANCACHE)/*
7468

7569
purge-app:
7670

debian/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
housekasa (1.1) UNREALEASED; urgency=low
1+
housekasa (1.1) UNRELEASED; urgency=low
22

33
* Install README.md as an online manual.
44

55
-- Pascal Martin <pascal.fb.martin@gmail.com> Wed, 15 Aug 2025 12:00:00 PDT
66

7-
housekasa (1.0) UNREALEASED; urgency=low
7+
housekasa (1.0) UNRELEASED; urgency=low
88

99
* Initial release as a Debian package.
1010

0 commit comments

Comments
 (0)