summaryrefslogtreecommitdiff
authorschurig <schurig>2003-06-03 11:48:21 (UTC)
committer schurig <schurig>2003-06-03 11:48:21 (UTC)
commit17b5bc4593ab0786f6488d452ae2430d6e4c46a5 (patch) (side-by-side diff)
tree65833ee21bfd2f43ced81559dcf0fbefde63303e
parent2474e1face1f618a23c2fa5c70b5021fb9af7c20 (diff)
downloadopie-17b5bc4593ab0786f6488d452ae2430d6e4c46a5.zip
opie-17b5bc4593ab0786f6488d452ae2430d6e4c46a5.tar.gz
opie-17b5bc4593ab0786f6488d452ae2430d6e4c46a5.tar.bz2
allow "make install" to install this stuff into an nfs-root
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/opiealarm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/opiealarm/Makefile b/core/opiealarm/Makefile
index 255083d..0c8467e 100644
--- a/core/opiealarm/Makefile
+++ b/core/opiealarm/Makefile
@@ -11,12 +11,16 @@ LDFLAGS:=
all: $(DESTDIR)/opiealarm
$(DESTDIR)/opiealarm: opiealarm.c
$(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS)
$(STRIP) --strip-all $(DESTDIR)/opiealarm
chmod u+s $(DESTDIR)/opiealarm
chown root $(DESTDIR)/opiealarm 2>/dev/null || echo -e "\nopiealarm must be owned by root to work correctly.\n"
clean:
-rm -f *~ core
+install:
+ cp $(DESTDIR)/opiealarm $(INSTALL_ROOT)/opt/QtPalmtop/bin
+ chown root $(INSTALL_ROOT)/opt/QtPalmtop/bin/opiealarm
+ chmod u+s $(INSTALL_ROOT)/opt/QtPalmtop/bin/opiealarm 2>/dev/null || echo -e "\nopiealarm must be owned by root to work correctly.\n"