open-src/app/xlswins/sun-src/Makefile
changeset 851 d428083dbbdd
parent 501 172978e9a050
child 907 3c35d611cdaa
--- a/open-src/app/xlswins/sun-src/Makefile	Wed Dec 02 21:38:00 2009 -0800
+++ b/open-src/app/xlswins/sun-src/Makefile	Sat Dec 05 22:13:03 2009 -0800
@@ -2,8 +2,8 @@
 #
 # xlswins 1.x Makefile
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
-# Use subject to license terms.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # copy of this software and associated documentation files (the
@@ -30,7 +30,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 #
-# @(#)Makefile	1.1 08/08/13
+# ident	"@(#)Makefile	1.2	09/12/05 SMI"
 #
 
 OBJS = xlswins.o
@@ -38,7 +38,8 @@
 xlswins: $(OBJS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) -lX11
 
-install:
-	$(INSTALL) -m 755 xlswins $(DESTDIR)/usr/X11/bin/xlswins
+install: xlswins
+	mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+	$(INSTALL) -m 755 xlswins $(DESTDIR)$(bindir)/xlswins
 	$(INSTALL) -m 644 xlswins.1 \
-		$(DESTDIR)/usr/X11/share/man/man1/xlswins.1
+		$(DESTDIR)$(mandir)/man1/xlswins.1