Browse Source

Makefile: Add help target.

Georgi Chorbadzhiyski 12 years ago
parent
commit
ff775a729b
1 changed files with 21 additions and 0 deletions
  1. 21
    0
      Makefile

+ 21
- 0
Makefile View File

@@ -143,3 +143,24 @@ uninstall:
143 143
 		echo "RM       $(INSTALL_DOC_DIR)/$$FILE"; \
144 144
 		rm "$(INSTALL_DOC_DIR)/$$FILE"; \
145 145
 	done
146
+
147
+help:
148
+	$(Q)echo -e "\
149
+tsdecrypt $(VERSION) ($(GIT_VER)) build\n\n\
150
+Build targets:\n\
151
+  tsdecrypt|all   - Build tsdecrypt with whatever decryption library was chosen\n\
152
+\n\
153
+  dvbcsa          - Build tsdecrypt with libdvbcsa [default]\n\
154
+  ffdecsa         - Build tsdecrypt with shipped FFdecsa.\n\
155
+\n\
156
+  install         - Install tsdecrypt in PREFIX ($(PREFIX))\n\
157
+  uninstall       - Uninstall tsdecrypt from PREFIX\n\
158
+\n\
159
+Cleaning targets:\n\
160
+  clean           - Remove tsdecrypt generated files but keep the decryption\n\
161
+                    library config\n\
162
+  distclean       - Remove all generated files and reset decryption library to\n\
163
+                    dvbcsa.\n\
164
+\n\
165
+  make V=1          Enable verbose build\n\
166
+  make PREFIX=dir   Set install prefix\n"

Loading…
Cancel
Save