File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ BUILD_DIR =build
33TESTS_DIR =tests
44GTEST_DIR =googletest/googletest
55GTEST_INC =-I$(GTEST_DIR ) /include -I$(GTEST_DIR ) /include/gtest -I$(GTEST_DIR ) /include/gtest/internal
6- INSTALL_DIR =/ opt/local/bin
6+ INSTALL_DIR =opt/local/bin
77
88all : $(BUILD_DIR ) /rel/smlr
99
@@ -12,7 +12,7 @@ test : $(BUILD_DIR)/rel/smlr_ut
1212 @$(BUILD_DIR ) /rel/smlr_ut
1313
1414install : $(BUILD_DIR ) /rel/smlr
15- cp $( BUILD_DIR ) /rel/smlr $(INSTALL_DIR ) /smlr
15+ cp $^ $( DESTDIR ) / $(INSTALL_DIR )
1616
1717clean :
1818 rm -rf $(BUILD_DIR )
Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ void usage() {
111111 printf ("\t\tCan be either `left` or `right`\n" );
112112 printf ("\t\tDefault value is middle\n" );
113113
114- printf ("\nEXAMPLES \n" );
115- printf ("git rev-parse --abbrev-ref HEAD | smlr -s 10 -a left\n" );
116- printf (" > feat...-13\n" );
117- printf ("echo \"abcdefghijkl\" | smlr -s 10 -a right\n" );
118- printf (" > ...ghijkl\n" );
119- printf ("date | smlr -s 10\n" );
114+ printf ("\nExamples: \n" );
115+ printf (" > git rev-parse --abbrev-ref HEAD | smlr -s 10 -a left\n" );
116+ printf (" > feat...-13\n\n " );
117+ printf (" > echo \"abcdefghijkl\" | smlr -s 10 -a right\n" );
118+ printf (" > ...ghijkl\n\n " );
119+ printf (" > date | smlr -s 10\n" );
120120 printf (" > Thu ...017\n\n" );
121121
122122}
You can’t perform that action at this time.
0 commit comments