wmsun: Rename executable from wmSun to wmsun.
This commit is contained in:
		
							parent
							
								
									e46ebfcb20
								
							
						
					
					
						commit
						0db93a85e0
					
				
					 3 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -16,26 +16,26 @@ LIBS   = -lXpm -lX11 -lXext -lm
 | 
			
		|||
#
 | 
			
		||||
# LIBS   = -lXpm -lX11 -lXext -lsocket
 | 
			
		||||
 | 
			
		||||
OBJS   = wmSun.o SunRise.o wmgeneral/wmgeneral.o
 | 
			
		||||
OBJS   = wmsun.o SunRise.o wmgeneral/wmgeneral.o
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
	$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
 | 
			
		||||
 | 
			
		||||
all:	wmSun.o wmSun
 | 
			
		||||
all:	wmsun.o wmsun
 | 
			
		||||
 | 
			
		||||
wmSun.o: wmSun_master.xpm wmSun_mask.xbm
 | 
			
		||||
wmsun.o: wmSun_master.xpm wmSun_mask.xbm
 | 
			
		||||
 | 
			
		||||
wmSun:	$(OBJS)
 | 
			
		||||
	$(CC) $(LDFLAGS) -o wmSun $^ $(LIBS)
 | 
			
		||||
wmsun:	$(OBJS)
 | 
			
		||||
	$(CC) $(LDFLAGS) -o wmsun $^ $(LIBS)
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	for i in $(OBJS) ; do \
 | 
			
		||||
		rm -f $$i; \
 | 
			
		||||
	done
 | 
			
		||||
	rm -f wmSun
 | 
			
		||||
	rm -f wmsun
 | 
			
		||||
 | 
			
		||||
install:: wmSun
 | 
			
		||||
install:: wmsun
 | 
			
		||||
	$(INSTALL) -d $(DESTDIR)$(BINDIR)
 | 
			
		||||
	$(INSTALL) wmSun $(DESTDIR)$(BINDIR)
 | 
			
		||||
	$(INSTALL) wmsun $(DESTDIR)$(BINDIR)
 | 
			
		||||
	$(INSTALL) -d $(DESTDIR)$(MANDIR)
 | 
			
		||||
	$(INSTALL) -m 644 wmSun.1 $(DESTDIR)$(MANDIR)
 | 
			
		||||
	$(INSTALL) -m 644 wmsun.1 $(DESTDIR)$(MANDIR)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -368,7 +368,7 @@ void ParseCMDLine(int argc, char *argv[]) {
 | 
			
		|||
 | 
			
		||||
	} else {
 | 
			
		||||
	    printf("\nwmSun version: %s\n", WMSUN_VERSION);
 | 
			
		||||
	    printf("\nusage: wmSun [-display <Display>] [-lat <Latitude>] [-lon <Longitude>] [-h]\n\n");
 | 
			
		||||
	    printf("\nusage: wmsun [-display <Display>] [-lat <Latitude>] [-lon <Longitude>] [-h]\n\n");
 | 
			
		||||
	    printf("\t-display <Display>\tUse alternate X display.\n");
 | 
			
		||||
	    printf("\t-geometry <Geometry>\tSet window geometry.\n");
 | 
			
		||||
	    printf("\t-lat <Latitude>\t\tObservers Latitude. Positive to the west.\n");
 | 
			
		||||
		Loading…
	
		Reference in a new issue