diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-02-09 10:10:12 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-02-09 10:10:12 +0000 |
commit | 37e9e8ce94151c3d4e1b07a7ebc1444989431ccc (patch) | |
tree | d5c92fc4ca83fc8e69d347a0c6857f6279738811 /Makefile.am | |
parent | 32020bf720d5dd27ac53864c497222c1720e0ad1 (diff) | |
download | tigervnc-37e9e8ce94151c3d4e1b07a7ebc1444989431ccc.tar.gz tigervnc-37e9e8ce94151c3d4e1b07a7ebc1444989431ccc.zip |
Add install and uninstall targets for Xvnc
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4273 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 8bebda23..d8b1ff08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,3 +23,26 @@ EXTRA_DIST = CMakeLists.txt cmakescripts/getdate.bat LICENCE.TXT \ dist-hook: rm -rf `find $(distdir) -name .svn` + +java-viewer: + cd $(srcdir)/java/src/com/tigervnc/vncviewer; \ + $(MAKE) + +xserver-install: install java-viewer + $(INSTALL) -m 755 ./xorg.build/bin/Xvnc $(DESTDIR)/$(bindir)/ + $(INSTALL) -m 644 ./xorg.build/man/man1/Xvnc.1 $(DESTDIR)/$(mandir)/man1/Xvnc.1 + $(INSTALL) -m 644 ./xorg.build/man/man1/Xserver.1 $(DESTDIR)/$(mandir)/man1/Xserver.1 + mkdir -p $(DESTDIR)/$(prefix)/vnc/classes/ + $(INSTALL) -m 644 $(srcdir)/java/src/com/tigervnc/vncviewer/index.vnc $(DESTDIR)/$(prefix)/vnc/classes/ + $(INSTALL) -m 644 $(srcdir)/java/src/com/tigervnc/vncviewer/VncViewer.jar $(DESTDIR)/$(prefix)/vnc/classes/ + $(INSTALL) -m 644 $(srcdir)/java/src/com/tigervnc/vncviewer/README $(DESTDIR)/$(prefix)/vnc/classes/ + +xserver-uninstall: uninstall + rm -f $(DESTDIR)/$(bindir)/Xvnc + rm -f $(DESTDIR)/$(mandir)/man1/Xvnc.1 + rm -f $(DESTDIR)/$(mandir)/man1/Xserver.1 + rm -f $(DESTDIR)/$(prefix)/vnc/classes/index.vnc + rm -f $(DESTDIR)/$(prefix)/vnc/classes/VncViewer.jar + rm -f $(DESTDIR)/$(prefix)/vnc/classes/README + rmdir $(DESTDIR)/$(prefix)/vnc/classes/ + rmdir $(DESTDIR)/$(prefix)/vnc/ |