Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
4070db3e
Commit
4070db3e
authored
Sep 01, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix about.hpp generation
parent
38e86905
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+15
-11
No files found.
modules/gui/qt4/Modules.am
View file @
4070db3e
...
...
@@ -10,6 +10,7 @@
AUTOMAKE_OPTIONS = subdir-objects
MOSTLYCLEANFILES = $(UIH)
CLEANFILES = dialogs/about.hpp
SUFFIXES += .ui .h .hpp .moc.cpp
nodist_SOURCES_qt4 = \
...
...
@@ -59,7 +60,7 @@ nodist_SOURCES_qt4 = \
ui/sout.h
if ENABLE_QT4
BUILT_SOURCES += $(nodist_SOURCES_qt4)
BUILT_SOURCES += $(nodist_SOURCES_qt4)
dialogs/about.hpp
endif
resources.cpp: res.qrc
...
...
@@ -78,16 +79,19 @@ resources.cpp: res.qrc
dialogs/help.cpp: dialogs/about.hpp
dialogs/about.hpp: ../../../AUTHORS ../../../COPYING ../../../THANKS
echo "#define LICENCE { \\" > dialogs/about.hpp
cat $(top_srcdir)/COPYING | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp
echo "};" >> dialogs/about.hpp
echo "#define THANKS { \\" >> dialogs/about.hpp
cat $(top_srcdir)/THANKS | tail -$$((`wc -l $(top_srcdir)/THANKS|cut -d" " -f 1` - 2))|sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp
echo "};" >> dialogs/about.hpp
echo "#define AUTHORS { \\" >> dialogs/about.hpp
cat $(top_srcdir)/AUTHORS | tail -$$((`wc -l $(top_srcdir)/AUTHORS|cut -d" " -f 1` - 2))|sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp
echo "};" >> dialogs/about.hpp
dialogs/about.hpp: Modules.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
mkdir -p -- dialogs
echo "/* Automatically generated file - DO NOT EDIT */" > dialogs/about.hpp.tmp
echo "static const char psz_licence[] =" >> dialogs/about.hpp.tmp
cat $(top_srcdir)/COPYING | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
echo ";" >> dialogs/about.hpp.tmp
echo "static const char psz_thanks[] =" >> dialogs/about.hpp.tmp
cat $(top_srcdir)/THANKS | grep -v '$$Id:' | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
echo ";" >> dialogs/about.hpp.tmp
echo "static const char psz_authors[] =" >> dialogs/about.hpp.tmp
cat $(top_srcdir)/AUTHORS | grep -v '$$Id:' | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
echo ";" >> dialogs/about.hpp.tmp
mv -f -- dialogs/about.hpp.tmp dialogs/about.hpp
SOURCES_qt4 = qt4.cpp \
menus.cpp \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment